From 4f4dd94cf9bbf5abb7a73d6c8bcf142b03d7a22e Mon Sep 17 00:00:00 2001 From: Arthur Deierlein Date: Fri, 8 Mar 2024 15:53:57 +0100 Subject: [PATCH] chore(ci/api): use pytest-github-actions-annotate-failures --- .github/workflows/backend.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/backend.yaml b/.github/workflows/backend.yaml index 8adbf136..b6290dbc 100644 --- a/.github/workflows/backend.yaml +++ b/.github/workflows/backend.yaml @@ -31,5 +31,7 @@ jobs: run: docker compose up -d --build db api - name: Check for missing migrations run: docker compose exec -T api ./manage.py makemigrations --check --dry-run --no-input + - name: Install pytest-github-actions-annotate-failures + run: GITHUB_TOKEN={{ secrets.GITHUB_TOKEN }} docker compose run --rm -T api pip install pytest-github-actions-annotate-failures - name: Run backend tests run: make api-test