1
0
Fork 0
mirror of synced 2024-11-05 00:28:57 -05:00
dotbot/.github/workflows/build.yml
2022-05-13 10:44:29 -05:00

38 lines
1 KiB
YAML

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 8 * * 6'
jobs:
test:
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"]
python: ["2.7", "pypy2", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
include:
- os: "windows-latest"
python: "3.8"
- os: "windows-latest"
python: "3.9"
- os: "windows-latest"
python: "3.10"
runs-on: ${{ matrix.os }}
name: "Python ${{ matrix.python }} on ${{ matrix.os }}"
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: "Install dependencies"
run: |
python -m pip install --disable-pip-version-check --upgrade pip setuptools
python -m pip install --disable-pip-version-check tox tox-gh-actions
- name: "Run tests"
run: |
python -m tox