diff --git a/.github/workflows/pr_backend.yml b/.github/workflows/pr_backend.yml index ca36481a..cba7be0f 100644 --- a/.github/workflows/pr_backend.yml +++ b/.github/workflows/pr_backend.yml @@ -8,6 +8,7 @@ concurrency: jobs: # JOB to run change detection detect-be-changes: + name: Detect backend changes runs-on: ubuntu-latest # Required permissions permissions: @@ -23,7 +24,9 @@ jobs: filters: | backend: - 'data/**' + - '.github/workflows/pr_backend.yml' code-quality-checks: + name: Code quality checks and tests - ${{ matrix.python-version }} needs: detect-be-changes if: ${{ needs.detect-be-changes.outputs.backend == 'true' }} runs-on: ubuntu-latest @@ -66,6 +69,7 @@ jobs: run: | poetry run pytest data_pipeline/ generate-score-tiles: + name: Score and tile generation - ${{ matrix.python-version }} needs: detect-be-changes if: ${{ needs.detect-be-changes.outputs.backend == 'true' }} runs-on: ubuntu-latest diff --git a/.github/workflows/pr_frontend.yml b/.github/workflows/pr_frontend.yml index b1c84293..de4232a2 100644 --- a/.github/workflows/pr_frontend.yml +++ b/.github/workflows/pr_frontend.yml @@ -7,6 +7,7 @@ concurrency: jobs: # JOB to run change detection detect-fe-changes: + name: Detect frontend changes runs-on: ubuntu-latest # Required permissions permissions: @@ -22,7 +23,9 @@ jobs: filters: | frontend: - 'client/**' + - '.github/workflows/pr_frontend.yml' frontend-build: + name: Frontend build - ${{ matrix.node-version }} needs: detect-fe-changes if: ${{ needs.detect-fe-changes.outputs.frontend == 'true' }} runs-on: ubuntu-latest