Skip to content

Commit

Permalink
Test multiple python versions using GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hammady committed Dec 20, 2023
1 parent 566df83 commit e93e1da
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ on:

jobs:
test:
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.11
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.11'
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -r requirements-test.txt
- name: Run tests
Expand Down

0 comments on commit e93e1da

Please sign in to comment.