Skip to content

Free Motion Capture for Everyone πŸ’€βœ¨

TypeScript

Automate end to end testing (#401)

philipqueen4396814a04f3
diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml
index d30213f3..3f22d6aa 100755
--- a/.github/workflows/python-testing.yml
+++ b/.github/workflows/python-testing.yml
@@ -2,9 +2,9 @@ name: Freemocap Tests
on:
pull_request:
- branches: [ jon/full-refactor ]
- paths:
- - freemocap
+ branches: [ main ]
+ paths:
+ - 'freemocap/**'
jobs:
build:
@@ -22,15 +22,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install -r requirements.txt
+ pip install -e .
+ - name: Install libegl1
+ run: |
+ sudo apt-get update
+ sudo apt-get install libegl1-mesa
- name: Run Tests with Pytest
run: |
pip install pytest
- pytest freemocap/tests/test_test.py
- - name: Upload pytest test results
- uses: actions/upload-artifact@v3
- with:
- name: pytest-results-3.9
- path: junit/test-results-3.9.xml
- # Use always() to always calculate_center_of_mass this step to publish test results when there are test failures
- if: ${{ always() }}
\ No newline at end of file
+ pytest freemocap/tests