Skip to content

Potential fix for code scanning alert no. 20: Workflow does not conta… #5

Potential fix for code scanning alert no. 20: Workflow does not conta…

Potential fix for code scanning alert no. 20: Workflow does not conta… #5

name: Run unit tests on Docker container
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-24.04
env:
FROM_DOCKER_IMAGE: "1"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Generate the .env file and the SECRET_KEY
run: make envfile
- name: Run tests
run: docker compose run web python ./manage.py test --verbosity=2 --noinput