fix: cambiando nombres #4
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: ci | |
on: | |
pull_request: | |
branch: [main] | |
jobs: | |
tests: | |
name: tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- run: pip install -r requirements-dev.txt | |
- name: Install playwright | |
run: python -m playwright install --with-deps firefox | |
- name: Run static test | |
run: ruff check | |
- name: Run unit and integration tests | |
run: coverage run --source="./app" --omit="./app/migrations/**" manage.py test app | |
- name: Check coverage | |
run: coverage report --fail-under=90 | |
- name: Run e2e tests | |
run: python manage.py test functional_tests |