Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
aguinane committed Mar 22, 2024
1 parent ff801f7 commit 24edde9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Python package

on: ["pull_request"]

jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
Expand All @@ -21,6 +21,8 @@ jobs:
# install the local folder
python -m pip install -e .
- name: Test with pytest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pip install pytest pytest-cov
pytest --cov-report=xml

0 comments on commit 24edde9

Please sign in to comment.