Merge pull request #62 from curieo-org/eng-190 #493
Workflow file for this run
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: Python CI | |
on: | |
push: | |
defaults: | |
run: | |
working-directory: agency | |
jobs: | |
tests-and-linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
cache: "poetry" | |
python-version-file: "agency/.python-version" | |
- name: Install dependencies | |
run: poetry install | |
- name: Linting & formatting | |
run: make lint & make fmt-check | |
- name: Run tests | |
run: make test | |