From e4e36a4b487b42ddbb4626fe18854e321a145195 Mon Sep 17 00:00:00 2001 From: Dave Chen Date: Tue, 13 Aug 2024 09:54:53 -0400 Subject: [PATCH] Splitting tests between linux and macos --- .github/workflows/python-app.yml | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 2d2cd92..a08c43a 100755 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -10,7 +10,7 @@ on: branches: [ main ] jobs: - build: + linux: runs-on: ubuntu-latest @@ -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