Skip to content

chore: upgrade scancode-action to latest running docker image (#511) #499

chore: upgrade scancode-action to latest running docker image (#511)

chore: upgrade scancode-action to latest running docker image (#511) #499

name: Run unit tests on Docker container
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
run-unit-tests:
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false # do not keep the token around
- 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