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:
9
9
id-token : write
10
10
11
11
jobs :
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
+
12
30
self :
13
31
name : " Continuous Benchmarking"
32
+ needs : file-changes
33
+ continue-on-error : true
14
34
runs-on : ubuntu-latest
15
35
steps :
16
36
- name : Clone - PR
28
48
sudo chmod +x /usr/local/bin/yq
29
49
yq --version
30
50
31
- - name : Run Fortran Benchmark
51
+ - name : Run Benchmark Cases
32
52
run : |
33
53
(cd pr && ./mfc.sh bench -o bench.yaml)
34
54
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