add #4
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: Test Act | |
on: | |
push: | |
branches: | |
- test | |
jobs: | |
test-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install Poetry | |
run: curl -sSL https://install.python-poetry.org | python3 - --version 1.7.1 | |
- name: Add Poetry to PATH | |
run: echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- name: Install dependencies | |
run: poetry install | |
working-directory: backend | |
- name: Check typing | |
run: poetry run mypy . | |
working-directory: backend | |
- name: Run lint | |
run: task lint | |
- name: Run tests | |
run: task test | |
working-directory: backend |