Skip to content

Commit

Permalink
Splitting tests between linux and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
dave3d committed Aug 13, 2024
1 parent 6ee3452 commit e4e36a4
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
branches: [ main ]

jobs:
build:
linux:

runs-on: ubuntu-latest

Expand All @@ -33,4 +33,21 @@ jobs:
flake8 . --count --exit-zero --max-complexity=10 --statistics
- name: Run tests
run: |
sh run_tests.sh
python -m unittest tests/test_glbutils.py tests/test_glb2mesh.py tests/test_mesh2glb.py
macos:

runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run tests
run: |
python -m unittest tests/test_glbthumb.py

0 comments on commit e4e36a4

Please sign in to comment.