Skip to content

CI

CI #153

Workflow file for this run

name: CI
on:
pull_request:
push:
schedule:
# Run every Sunday at 06:53 UTC
- cron: 53 6 * * 0
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: 3.7
toxenv: py37-test-pytest46
- os: windows-latest
python-version: 3.7
toxenv: py37-test-pytest50
- os: macos-latest
python-version: 3.8
toxenv: py38-test-pytest52
- os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-pytest53
- os: windows-latest
python-version: 3.9
toxenv: py39-test-pytest60
- os: macos-latest
python-version: 3.9
toxenv: py39-test-pytest61
- os: ubuntu-latest
python-version: '3.10'
toxenv: py310-test-pytest62
- os: ubuntu-latest
python-version: '3.10'
toxenv: py310-test-pytestdev
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: python -m pip install tox
- name: Run tox
run: tox -v -e ${{ matrix.toxenv }}