mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 09:41:26 -08:00
Force use of matrix in GitHub Action job names
This commit is contained in:
parent
dbcbf6b7e1
commit
e7be2b9236
2 changed files with 7 additions and 0 deletions
4
.github/workflows/pr_backend.yml
vendored
4
.github/workflows/pr_backend.yml
vendored
|
@ -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
|
||||
|
|
3
.github/workflows/pr_frontend.yml
vendored
3
.github/workflows/pr_frontend.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue