From 9732993b4673a3cc2eab62aa386b308ee6c731ff Mon Sep 17 00:00:00 2001 From: Sam Morgan Date: Fri, 5 Jan 2024 13:57:34 -0800 Subject: [PATCH] And again --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6643c77..11dd8b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,10 @@ name: CI on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: get-python-versions: runs-on: ubuntu-latest @@ -49,7 +53,7 @@ jobs: - name: Get Django version id: django-version - run: echo "version=$(django-admin --version)" >> $GITHUB_OUTPUT + run: echo "version=$(poetry run django-admin --version)" >> $GITHUB_OUTPUT - name: Run Tests (Django ${{ steps.django-version.outputs.version }}) run: poetry run pytest