File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,28 @@ permissions:
99 id-token : write
1010
1111jobs :
12+ file-changes :
13+ name : Detect File Changes
14+ runs-on : ' ubuntu-latest'
15+ outputs :
16+ checkall : ${{ steps.changes.outputs.checkall }}
17+ steps :
18+ - name : Clone
19+ uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+
23+ - name : Detect Changes
24+ uses : dorny/paths-filter@v3
25+ id : changes
26+ with :
27+ filters : " .github/file-filter.yml"
28+ base : ${{ github.event.repository.default_branch || 'main' }}
29+
1230 self :
1331 name : " Continuous Benchmarking"
32+ needs : file-changes
33+ continue-on-error : true
1434 runs-on : ubuntu-latest
1535 steps :
1636 - name : Clone - PR
2848 sudo chmod +x /usr/local/bin/yq
2949 yq --version
3050
31- - name : Run Fortran Benchmark
51+ - name : Run Benchmark Cases
3252 run : |
3353 (cd pr && ./mfc.sh bench -o bench.yaml)
3454 find pr/ -maxdepth 1 -name "*.yaml" -exec sh -c 'yq eval -o=json "$1" > "${1%.yaml}.json"' _ {} \;
You can’t perform that action at this time.
0 commit comments