Move calculate-job-matrix.py to ci/github-actions
This commit is contained in:
parent
9c7b1f4848
commit
9fec43ddf1
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
|||||||
- name: Checkout the source code
|
- name: Checkout the source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Calculate the CI job matrix
|
- name: Calculate the CI job matrix
|
||||||
run: python3 src/ci/scripts/calculate-job-matrix.py >> $GITHUB_OUTPUT
|
run: python3 src/ci/github-actions/calculate-job-matrix.py >> $GITHUB_OUTPUT
|
||||||
id: jobs
|
id: jobs
|
||||||
pr:
|
pr:
|
||||||
name: "PR - ${{ matrix.name }}"
|
name: "PR - ${{ matrix.name }}"
|
||||||
|
@ -15,7 +15,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
|
||||||
JOBS_YAML_PATH = Path(__file__).absolute().parent.parent / "github-actions" / "jobs.yml"
|
JOBS_YAML_PATH = Path(__file__).absolute().parent / "jobs.yml"
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
@ -351,7 +351,7 @@ jobs:
|
|||||||
- name: Checkout the source code
|
- name: Checkout the source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Calculate the CI job matrix
|
- name: Calculate the CI job matrix
|
||||||
run: python3 src/ci/scripts/calculate-job-matrix.py >> $GITHUB_OUTPUT
|
run: python3 src/ci/github-actions/calculate-job-matrix.py >> $GITHUB_OUTPUT
|
||||||
id: jobs
|
id: jobs
|
||||||
pr:
|
pr:
|
||||||
<<: *base-ci-job
|
<<: *base-ci-job
|
||||||
|
Loading…
Reference in New Issue
Block a user