Merge pull request #76 from curieo-org/fix-settings #547
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 | |