formatting/linting #2169
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: Run Tests | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-lint-and-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
cache: "poetry" | |
- name: Install Python dependencies | |
run: poetry install | |
- name: Lint | |
run: poetry run make lint | |
- name: Test | |
run: make test | |
- name: Test with alembic | |
run: make test | |
env: | |
PYTEST_ADDOPTS: "--alembic" |