Skip to content

.github/workflows: add unit_tests.yaml #1

.github/workflows: add unit_tests.yaml

.github/workflows: add unit_tests.yaml #1

Workflow file for this run

name: Unit Tests (with tox)
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install tox
- name: Run tox
# Run tox using the version of Python in `PATH`
run: tox -e py