update buildingsync version to 2.4.0 in test files to match SEED #144
This file contains 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: | |
pull_request: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Install poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.4.0 | |
- name: Setup Python | |
run: | | |
pip install --upgrade pip | |
poetry install | |
- name: Run tests | |
run: | | |
poetry run pytest | |
formatting: | |
name: Pre-commit checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9" | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files | |
- name: Install poetry | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: 1.4.0 | |
- name: type check | |
run: | | |
poetry install | |
poetry run mypy . |