Skip to content

Commit

Permalink
update pytest gh action to test multiple versions on python
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdavham committed Jan 9, 2025
1 parent 1777e77 commit 9b038e2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,18 @@ jobs:
test:

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

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 9b038e2

Please sign in to comment.