.github/workflows/ci.yml
name: CI
on:
push:
branches: [master]
pull_request:
schedule:
- cron: '23 8 * * 5' # at 8:23 (UTC) on Fridays
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10', '3.11', pypy-3.6, pypy-3.7, pypy-3.8, pypy-3.9]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install tox-gh-actions
- name: Test with tox
run: tox