Skip to content
Open

test #12

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ on: [push]
jobs:
test-lint:
name: Test and Lint
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Test
run: docker-compose run --rm app sh -c "python manage.py wait_for_db && python manage.py test"
run: docker compose run --rm app sh -c "python manage.py wait_for_db && python manage.py test"
- name: Lint
run: docker-compose run --rm app sh -c "flake8"
run: docker compose run --rm app sh -c "flake8"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ This is the code for the second edition of the course that was released in 2022.

Course code for: [Build a Backend REST API with Python & Django - Advanced](https://londonapp.dev/c2)


test