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

27 lines
615 B
YAML

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 8 * * 6'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["2.7", "pypy2", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
name: "Test: Python ${{ matrix.python }}"
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- run: ./test/test
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: psf/black@stable