Skip to content

Commit

Permalink
Add tox tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CamLamb committed Dec 5, 2023
1 parent 51d5df6 commit ad7fec4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Python package

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install poetry
run: |
pip install -U pip
pip install poetry
poetry install --with testing
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Run Tox
run: poetry run tox

0 comments on commit ad7fec4

Please sign in to comment.