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:
|
2020-12-18 14:34:28 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
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"]
|
|
|
|
name: "Test: Python ${{ matrix.python }}"
|
2020-12-18 14:34:28 -05:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python }}
|
|
|
|
- run: ./test/test
|
2022-01-30 18:48:30 -05:00
|
|
|
fmt:
|
|
|
|
name: Format
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: psf/black@stable
|