Skip to content

Commit

Permalink
Install multiple versions of Python at once in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
meshy committed Feb 13, 2024
1 parent 726fe6a commit a9a2628
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:

strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
postgres-image:
- "postgres:12"
- "postgres:13"
Expand Down Expand Up @@ -41,7 +40,10 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: |
"3.12"
"3.11"
"3.10"
cache: 'pip'

- name: Install requirements
Expand Down

0 comments on commit a9a2628

Please sign in to comment.