Merge pull request #229 from iragm/lot-feedback #111
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 |