Skip to content

Commit

Permalink
Test multiple Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
fxcoudert committed Apr 12, 2024
1 parent a3a05cb commit fbb40a5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,18 @@ jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.10", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
- name: Lint with flake8
Expand Down

0 comments on commit fbb40a5

Please sign in to comment.