Skip to content

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

TypeScript

add test artifact publishing

Endurance Idehen5fcf0478d718
diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml
index e92a55cb..e0577bb5 100755
--- a/.github/workflows/python-testing.yml
+++ b/.github/workflows/python-testing.yml
@@ -4,22 +4,28 @@ on: [push]
jobs:
build:
-
runs-on: ubuntu-latest
- strategy:
- matrix:
- python-version: ["3.9"]
-
steps:
- uses: actions/checkout@v3
- - name: Set up Python ${{ matrix.python-version }}
+ - name: Set up Python 3.x
uses: actions/setup-python@v4
with:
- python-version: ${{ matrix.python-version }}
+ # Semantic version range syntax or exact version of a Python version
+ python-version: '3.9'
+ # Optional - x64 or x86 architecture, defaults to x64
+ architecture: 'x64'
+ cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
- task test
\ No newline at end of file
+ task test
+ - 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 run this step to publish test results when there are test failures
+ if: ${{ always() }}
\ No newline at end of file
diff --git a/requirements.txt b/requirements.txt
index 24390cd7..0ffffc20 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -24,5 +24,6 @@ rich==12.3.0
protobuf==3.19.0
imageio
imageio-ffmpeg
-pytest
-taskipy==1.10.2
\ No newline at end of file
+pytest==7.1.2
+taskipy==1.10.2
+pytest-cov==3.0.0
\ No newline at end of file