Created
July 13, 2021 06:46
-
-
Save larsyencken/33e2a2c6a9e0275d772f5df74447fe4e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.8, 3.9] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: | | |
pip install poetry | |
poetry --version | |
- name: Install packages | |
run: | | |
poetry install | |
- name: Check formatting | |
run: | | |
make check-formatting | |
- name: Lint | |
run: | | |
make lint | |
- name: Check typing | |
run: | | |
make check-typing | |
- name: Unit test | |
run: | | |
make unittest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment