Skip to content

Commit

Permalink
split linux and mac tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dave3d committed Aug 13, 2024
1 parent dfea4b5 commit 682fe43
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ on:
branches: [ main ]

jobs:
build:
linux:

runs-on: macos-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -24,7 +24,6 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8
pip3 install git+https://github.com/cnr-isti-vclab/PyMeshLab
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
Expand All @@ -34,4 +33,23 @@ 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
pip3 install git+https://github.com/cnr-isti-vclab/PyMeshLab
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 682fe43

Please sign in to comment.