Skip to content

run pytest on GitHub Actions #2

run pytest on GitHub Actions

run pytest on GitHub Actions #2

Workflow file for this run

name: Run test
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: python -m pip install --upgrade tox
- name: Run tests
run: tox -e py