Skip to content

Commit

Permalink
Test on both the oldest and latest supported Python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
joanbm committed Jul 6, 2024
1 parent 3da994a commit e5cecfa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
run-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.x']

steps:
- name: Checkout
Expand All @@ -16,6 +19,11 @@ jobs:
- name: Install dependencies
run: pip3 install pylint mypy coverage

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

- name: Run linters
run: |
pylint --errors-only full_offline_backup_for_todoist
Expand All @@ -25,6 +33,7 @@ jobs:
run: coverage run -m unittest && coverage lcov

- name: Upload coverage report
if: ${{ matrix.python-version == '3.x' }}
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit e5cecfa

Please sign in to comment.