Skip to content

Commit

Permalink
Compatibility GitHub Actions / tox
Browse files Browse the repository at this point in the history
  • Loading branch information
ronanboiteau committed Apr 18, 2024
1 parent 97dc88c commit f94ad04
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,20 @@ on: [push]
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v4
- name: Install tox
run: pip install tox
- name: Use tox to run test suite
run: tox run
run: python -m tox -f py$(echo ${{ matrix.python-version }})

0 comments on commit f94ad04

Please sign in to comment.