Skip to content

Setup Python version matrix for GHA (#95) #22

Setup Python version matrix for GHA (#95)

Setup Python version matrix for GHA (#95) #22

Workflow file for this run

---
name: Tests
on: [push, pull_request]
env:
FORCE_COLOR: 1
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.7, 3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: setup
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade tox
- name: run tests
run: python -m tox -q