Skip to content

Commit

Permalink
FIX: workflow.yml dependencies
Browse files Browse the repository at this point in the history
Added install dependencies block to yml to install pytest module
  • Loading branch information
patrikmnich authored May 15, 2024
1 parent 999c65c commit 269df79
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 269df79

Please sign in to comment.