Skip to content

Commit

Permalink
matrix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Dec 13, 2024
1 parent af6f38d commit a172261
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,21 @@ jobs:
test:
name: Test Application
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
- name: Set up Python Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade --upgrade-strategy eager -r requirements_dev.txt
- name: Install actual package
run: |
pip install -e .
pip install .
- name: Run tests
run: coverage run -m pytest -v
- name: Create Coverage Report
Expand All @@ -27,5 +30,6 @@ jobs:
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true

0 comments on commit a172261

Please sign in to comment.