Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Dec 21, 2023
1 parent 6158d9c commit 4d30842
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,19 @@ jobs:
steps:
- name: Build dataset
run: |
ls
wget https://www.w3.org/Graphics/SVG/Test/20110816/archives/W3C_SVG_11_TestSuite.tar.gz
ls
mkdir -p svgs/W3C_SVG_11_TestSuite
ls
tar -tf W3C_SVG_11_TestSuite.tar.gz | grep -E '^svg/.+\.svgz?$' > filter.txt
ls
tar -xf W3C_SVG_11_TestSuite.tar.gz -T filter.txt -C svgs/W3C_SVG_11_TestSuite
ls
tar -C svgs/W3C_SVG_11_TestSuite -xf W3C_SVG_11_TestSuite.tar.gz -T filter.txt
wget https://download.kde.org/stable/frameworks/5.113/oxygen-icons-5.113.0.tar.xz
ls
tar -tf oxygen-icons-5.113.0.tar.xz | grep -E '\.svgz?$' > filter.txt
ls
tar -xf oxygen-icons-5.113.0.tar.xz -T filter.txt -C svgs
ls
tar -C svgs -xf oxygen-icons-5.113.0.tar.xz -T filter.txt
find svgs -name "*.svgz" -exec sh -c '7z e -so {} > $(echo {} | sed s/\.svgz$/\.svg/)' \; -delete
ls
- name: Package artifacts
run: |
mkdir /tmp/dist
tar czf /tmp/dist/svgo-test-suite.tar.gz svgs
tar czf svgo-test-suite.tar.gz svgs/*
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: /tmp/dist
path: svgo-test-suite.tar.gz
deploy:
needs: test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4d30842

Please sign in to comment.