Merge pull request #136 from guillaumep/sr-135 #144
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: Pull-Request validation | |
on: [push, pull_request] | |
jobs: | |
validate: | |
name: Pull-Request validation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build docker-compose | |
run: docker compose build | |
- name: Compile assets | |
run: bash ./tools/compile_assets.sh | |
- name: Run ruff | |
run: docker compose run --rm web ruff check /code | |
- name: Check tests | |
run: docker compose run -e CI=1 --rm web /code/wait-for-it.sh db:3306 --strict -- python3 /code/souschef/manage.py test |