fix #222 #110
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: Docker images build and test | |
on: | |
push: | |
pull_request: | |
branches: [master] | |
jobs: | |
image-build: | |
name: Test Images Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: ./.github/scripts/prepare-ci.sh | |
- run: docker compose build | |
- run: docker compose up -d | |
- run: sleep 60 # Wait for the container to be up | |
- run: docker compose exec web python3 manage.py test | |
- run: docker compose down |