Skip to content

Run tox on multiple OS #9

Run tox on multiple OS

Run tox on multiple OS #9

Workflow file for this run

name: Run tox on multiple OS
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
test:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.12', '3.11', '3.10']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox