Move calculate-job-matrix.py to ci/github-actions

This commit is contained in:
Jakub Beránek 2024-04-19 21:41:49 +02:00
parent 9c7b1f4848
commit 9fec43ddf1
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ jobs:
- name: Checkout the source code
uses: actions/checkout@v4
- 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
pr:
name: "PR - ${{ matrix.name }}"

View File

@ -15,7 +15,7 @@ from pathlib import Path
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__":

View File

@ -351,7 +351,7 @@ jobs:
- name: Checkout the source code
uses: actions/checkout@v4
- 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
pr:
<<: *base-ci-job