Add support for Python 3.12, drop support for Python 3.6 #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: [push, pull_request] | |
jobs: | |
# Note that if we want to keep testing on Python 3.6, we need to test on | |
# an older ubuntu. Once we don't care about 3.6 any longer we can drop this. | |
test-client-old-python: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python: ['3.6'] | |
steps: | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
pip install -e .[test] | |
py.test | |
test-client: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: [3.8, 3.9, '3.10', '3.12'] | |
steps: | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Test | |
run: | | |
pip install -e .[test] | |
py.test |