From 6a294d2836d009d724141a59ec08f3f7d837b905 Mon Sep 17 00:00:00 2001 From: Sandro Campos Date: Mon, 13 Nov 2023 09:52:13 -0500 Subject: [PATCH] Remove consecutiveness action from asv-main --- ...lude_benchmarks %}asv-main.yml{% endif %}.jinja | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja index 1808bacb..af507869 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja @@ -12,20 +12,14 @@ env: PYTHON_VERSION: "3.10" WORKING_DIR: {% raw %}${{ github.workspace }}{% endraw %}/benchmarks -jobs: - - consecutiveness: - runs-on: ubuntu-latest +concurrency: + group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %} + cancel-in-progress: true - steps: - - name: Set workflows on main to run consecutively - uses: mktcode/consecutive-workflow-action@eb43c6b5852dd0e33efa797a1817196d06daa4b2 - with: - token: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %} +jobs: setup-python: runs-on: ubuntu-latest - needs: consecutiveness steps: - name: Cache Python {% raw %}${{ env.PYTHON_VERSION }}{% endraw %}