chore(deps): update dependency coverage to v7.6.10 #83
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 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
cache: "poetry" | |
- run: poetry install --with dev | |
- run: poetry run ruff check . | |
- run: poetry run ruff format --check . | |
unit-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
cache: "poetry" | |
- run: poetry install --with dev | |
- run: DJANGO_SETTINGS_MODULE=config.settings.test poetry run coverage run ./manage.py test |