Skip to content

Commit

Permalink
ci: another pass at getting OpenSCAD working
Browse files Browse the repository at this point in the history
  • Loading branch information
EmperorArthur committed Aug 4, 2024
1 parent 49718cc commit 8414ffb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ jobs:
run: openscad --info
continue-on-error: true

- name: Run Unit Tests
shell: bash
working-directory: ./tests
run: python3 -m unittest
- name: Run Unit Tests (Headless)
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
shell: bash
working-directory: ./tests
run: python3 -m unittest

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion tests/openscad_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class OpenScadRunner:
#'--hardwarnings', # Does not work when setting variables by using functions
#'--enable=fast-csg', # Requires Beta version of OpenSCAD
#'--enable=predictible-output', # Requires Beta version of OpenSCAD
'--render=true' # Required on headless systems
#'--render=true' # Fully render geometry for images, instead of using fast preview mode.
'--imgsize=1280,720',
'--view=axes',
'--projection=ortho',
Expand Down

0 comments on commit 8414ffb

Please sign in to comment.