From 4fc9930fbcb39f3c74bb73e3ac73e0366e15eeb9 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 3 Jan 2024 13:49:01 +0100 Subject: [PATCH] GitHub Action to run tox --- .github/workflows/tox.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/tox.yml diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml new file mode 100644 index 00000000..029f5fe7 --- /dev/null +++ b/.github/workflows/tox.yml @@ -0,0 +1,19 @@ +name: tox +on: [push, pull_request] +jobs: + tox: + strategy: + fail-fast: false + max-parallel: 6 + matrix: + os: [ubuntu-latest] # [macos-latest, ubuntu-latest, windows-latest] + python: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.10'] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python }} + - run: pip install --upgrade pip + - run: pip install tox + - run: tox -e py