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

39 lines
1 KiB
YAML
Raw Normal View History

2020-12-18 14:34:28 -05:00
name: CI
on:
push:
2020-12-26 05:01:29 -05:00
pull_request:
2020-12-18 14:34:28 -05:00
schedule:
- cron: '0 8 * * 6'
jobs:
2022-01-30 18:48:30 -05:00
test:
2022-05-12 17:30:44 -04:00
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
2020-12-18 14:34:28 -05:00
strategy:
2022-05-12 17:30:44 -04:00
fail-fast: false
2020-12-18 14:34:28 -05:00
matrix:
2022-05-12 17:30:44 -04:00
os: ["ubuntu-latest", "macos-latest"]
2022-01-30 18:48:30 -05:00
python: ["2.7", "pypy2", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
2022-05-12 17:30:44 -04:00
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 }}"
2020-12-18 14:34:28 -05:00
steps:
2022-05-12 17:30:44 -04:00
- uses: actions/checkout@v3
2020-12-18 14:34:28 -05:00
with:
submodules: recursive
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
2022-05-12 17:30:44 -04:00
- 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