Skip to content

Commit

Permalink
pybop-team#123 correctly sparse checkout the matrix script
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Feb 11, 2024
1 parent 8c06d23 commit bfe8474
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/scheduled_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
- name: Check out PyBOP repository
uses: actions/checkout@v4
with:
path: .github/workflows/build_matrix.sh
sparse-checkout-cone-mode: false
sparse-checkout: |
scripts/ci/build_matrix.sh
- name: Run script to create matrix
id: set-matrix
run: |
chmod +x .github/workflows/build_matrix.sh
bash .github/workflows/build_matrix.sh >> matrix_json
bash scripts/ci/build_matrix.sh >> matrix_json
echo "matrix=$(cat matrix_json)" >> "$GITHUB_OUTPUT"
build:
Expand Down

0 comments on commit bfe8474

Please sign in to comment.