Skip to content

Commit ee779b6

Browse files
committed
Debugging
1 parent 762690a commit ee779b6

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/path-filter.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,25 @@ jobs:
4949
code_changed:
5050
- any: ['source_changed', 'examples_changed', 'tests_changed']
5151
52+
build-and-test-linux:
53+
needs: path-filter
54+
name: Debug path-filter outputs
55+
runs-on: ubuntu-latest
56+
steps:
57+
- name: Debug path-filter outputs
58+
run: |
59+
echo "source_changed: ${{ needs.path-filter.outputs.source_changed }}"
60+
echo "examples_changed: ${{ needs.path-filter.outputs.examples_changed }}"
61+
echo "tests_changed: ${{ needs.path-filter.outputs.tests_changed }}"
62+
echo "linux_workflow_changed: ${{ needs.path-filter.outputs.linux_workflow_changed }}"
63+
echo "macos_workflow_changed: ${{ needs.path-filter.outputs.macos_workflow_changed }}"
64+
echo "spack_changed: ${{ needs.path-filter.outputs.spack_changed }}"
65+
echo "singularity_changed: ${{ needs.path-filter.outputs.singularity_changed }}"
66+
5267
# Dummy jobs that succeed when only spack, singularity or docs files change
5368
build-and-test-linux:
5469
needs: path-filter
55-
if: |
56-
${{ needs.path-filter.outputs.code_changed == 'false'
70+
if: ${{ needs.path-filter.outputs.code_changed == 'false'
5771
&& needs.path-filter.outputs.linux_workflow_changed == 'false'}}
5872
strategy:
5973
matrix:
@@ -80,6 +94,7 @@ jobs:
8094
runs-on: ubuntu-latest
8195
steps:
8296
- run: echo "Skipping linux build (${{ matrix.config }}) because there were no relevant changes!"
97+
8398
build-and-test-macos:
8499
needs: path-filter
85100
if: |

0 commit comments

Comments
 (0)