File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 88 workflow_dispatch :
99
1010jobs :
11- Test :
11+ PreCommit :
1212 name : pre-commit
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : 💾 Check out repository
16- uses : actions/checkout@v3
16+ uses : actions/checkout@v4
1717
1818 - name : 🪝 Cache pre-commit hooks
1919 uses : actions/cache@v3
2929 - name : 🔥 Test
3030 run : pre-commit run --show-diff-on-failure --all-files
3131
32+ Test :
33+ name : Unit Tests
34+ runs-on : ubuntu-latest
35+ steps :
36+ - name : 💾 Check out repository
37+ uses : actions/checkout@v4
38+
39+ - name : Set up Python
40+ uses : actions/setup-python@v5
41+ with :
42+ python-version : " 3.x"
43+
44+ - name : Install OpenSCAD
45+ run : |
46+ sudo apt-get update
47+ sudo apt-get install openscad
48+
49+ - name : Run Unit Tests
50+ shell : bash
51+ working-directory : ./tests
52+ run : python3 -m unittest
53+
3254concurrency :
3355 group : ${{ github.workflow }}-${{ github.ref }}
3456 cancel-in-progress : false
You can’t perform that action at this time.
0 commit comments