Skip to content

tox

tox #2

Workflow file for this run

name: tox
on:
workflow_run:
workflows: ["Build and Test"]
types:
- completed
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
tox:
name: ${{ matrix.os }} / ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest ]
# Uses 3.9 type annotations.
python-version: ["3.9", "3.10", "3.11", "3.12" ]
steps:
- uses: actions/checkout@v3
- name: Using Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox
- run: tox -e py