Skip to content

Simplify Github Actions Workflows #507

Simplify Github Actions Workflows

Simplify Github Actions Workflows #507

Workflow file for this run

name: On update
on:
push:
branches-ignore:
- master
tags-ignore:
- v**
permissions:
contents: read
jobs:
run-tox:
name: Tox
runs-on: ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
platform:
- ubuntu-latest
- macos-latest
- windows-latest
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout source at ${{ matrix.platform }}
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install tox
- name: Run tox
run: |
tox run-parallel