build(deps): bump pydantic from 1.10.4 to 2.5.1 in /Django #463
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: Pytest | |
on: | |
push: | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: run docker-compose | |
run: | | |
docker-compose up -d | |
- name: Sleep for 30 seconds | |
uses: jakejarvis/wait-action@master | |
with: | |
time: "30s" | |
- name: init containers | |
run: | | |
docker-compose exec -T django python manage.py makemigrations; | |
docker-compose exec -T django python manage.py makemigrations streamer; | |
docker-compose exec -T django python manage.py migrate; | |
docker-compose exec -T django python manage.py collectstatic --noinput; | |
- name: run pytest | |
run: | | |
docker-compose exec -T django pytest --cov --cov-report=xml | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./Django/coverage.xml | |
env_vars: OS,PYTHON | |
name: codecov-umbrella | |
fail_ci_if_error: true | |
verbose: true |