Skip to content

Commit

Permalink
Add matrix of Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Jan 12, 2023
1 parent 5c0847d commit fc0dd69
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/lint-test-cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,25 @@ jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-flake8 pytest-cov
pip install -r requirements-dev.txt
pip install -e .
- name: Testing and coverage with pytest
run: |
pytest

0 comments on commit fc0dd69

Please sign in to comment.