Skip to content

[pre-commit.ci] pre-commit autoupdate #106

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #106

Workflow file for this run

name: Test with tox
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
name: tox -e py${{ matrix.python-version }}-test
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test with tox
run: |
tox -e py${{ matrix.python-version }}-test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}