dependency: (deps-dev): bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.15.0 in /frontend #667
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: Django CI | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build docker image and run tests | |
env: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
MONGODB_URI: ${{ secrets.MONGODB_URI }} | |
run: | | |
docker compose build backend | |
docker compose run backend python manage.py makemigrations | |
docker compose run backend python manage.py migrate | |
docker compose run backend python manage.py test | |
docker compose up -d backend | |
docker compose down |