1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
name: default
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: Gr1N/setup-poetry@v7
with:
poetry-version: 1.1.12
- run: make install-deps
- run: make lint
if: matrix.python-version == 3.10
- run: make test
- uses: codecov/codecov-action@v1
if: matrix.python-version == 3.10
with:
token: ${{ secrets.CODECOV_TOKEN }}
|