7eb65ae903
* Add python 3.11 to the test environnements * Use only the oldest and latest versions for github workfkows
23 lines
447 B
YAML
23 lines
447 B
YAML
name: Tests
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
- python: "3.7"
|
|
- python: "3.11"
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python }}
|
|
- name: Install tox
|
|
run: pip install tox
|
|
- name: Test
|
|
run: tox -e py
|