Update test.yml

This commit is contained in:
Bob 2021-08-02 17:36:58 -04:00
parent b36bceaa65
commit 10352f6979
1 changed files with 2 additions and 1 deletions

View File

@ -29,9 +29,10 @@ jobs:
run: sudo apt-get install openscad run: sudo apt-get install openscad
- run: echo "rendering new fixtures..." - run: echo "rendering new fixtures..."
- run: mkdir tests/output/ - run: mkdir tests/output/
- run: touch tests/empty.scad
- run: 'openscad -o "tests/output/test.stl" "tests/test.scad"' - run: 'openscad -o "tests/output/test.stl" "tests/test.scad"'
- run: echo "differencing new fixtures from old fixtures..." - run: echo "differencing new fixtures from old fixtures..."
- run: openscad /dev/null -D 'difference(){import("tests/test.stl");import("tests/otuput/test.stl");}' -o output.stl - run: openscad tests/empty.scad -D 'difference(){import("test.stl");import("output/test.stl");}' -o output.stl
- run: du -B=1 output.stl - run: du -B=1 output.stl
- run: | - run: |
git config --global user.name 'KeyV2 GHA Bot' git config --global user.name 'KeyV2 GHA Bot'