From d22c34850404dd7410045a4976822046d3dc609d Mon Sep 17 00:00:00 2001 From: ericiwamoto <100735505+ericiwamoto@users.noreply.github.com> Date: Thu, 5 Dec 2024 13:00:24 -0800 Subject: [PATCH] Remove concurrency for build tests in a PR --- .github/workflows/deploy_backend_main.yml | 8 ++++---- .github/workflows/pr_backend.yml | 3 +++ .github/workflows/pr_frontend.yml | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy_backend_main.yml b/.github/workflows/deploy_backend_main.yml index a3be4576..3d8cb281 100644 --- a/.github/workflows/deploy_backend_main.yml +++ b/.github/workflows/deploy_backend_main.yml @@ -60,12 +60,12 @@ jobs: - name: Get Census Data run: | poetry run python3 -m data_pipeline.application census-data-download - - name: Extract Data Sources - run: | - poetry run python3 -m data_pipeline.application extract-data-sources + - name: Extract Data Sources + run: | + poetry run python3 -m data_pipeline.application extract-data-sources - name: Run ETL run: | - poetry run python3 -m data_pipeline.application etl-run + poetry run python3 -m data_pipeline.application etl-run - name: Generate Score run: | poetry run python3 -m data_pipeline.application score-run diff --git a/.github/workflows/pr_backend.yml b/.github/workflows/pr_backend.yml index bf1db49a..2b9c7ae4 100644 --- a/.github/workflows/pr_backend.yml +++ b/.github/workflows/pr_backend.yml @@ -3,6 +3,9 @@ on: pull_request: paths: - "data/**" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true env: CENSUS_API_KEY: ${{ secrets.CENSUS_API_KEY }} J40_VERSION_LABEL_STRING: ${{ vars.SCORE_VERSION }} diff --git a/.github/workflows/pr_frontend.yml b/.github/workflows/pr_frontend.yml index f3ba113d..033dea58 100644 --- a/.github/workflows/pr_frontend.yml +++ b/.github/workflows/pr_frontend.yml @@ -3,6 +3,9 @@ on: pull_request: paths: - "client/**" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number }} + cancel-in-progress: true jobs: build: runs-on: ubuntu-latest