diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 1b17b1f..0505724 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -38,10 +38,18 @@ jobs: run: | echo Add other actions to build, echo test, and deploy your project. + + # Python - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.12' + + # Tests + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pytest - name: Test with pytest run: pytest tests.py --doctest-modules --junitxml=junit/test-results-${{ matrix.python-version }}.xml - name: Upload pytest test results