From ff71966ed03219d9cbca1872af003b1312683312 Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Tue, 25 Jun 2024 14:18:30 +0200 Subject: [PATCH] fix tests --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 489bdb9..56c459e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,18 @@ jobs: run: | pip install -r requirements.txt -r dev-requirements.txt + - name: Run django unit tests + working-directory: ./backend + run: | + coverage run ./manage.py test --parallel + coverage xml + + - uses: codecov/codecov-action@v4 + working-directory: ./backend + with: + files: ./coverage.xml + flags: python-unittests + js-build: name: JS tests runs-on: ubuntu-latest