@@ -11,6 +11,7 @@ permissions:
1111jobs :
1212 build :
1313 strategy :
14+ fail-fast : false
1415 matrix :
1516 include :
1617 - os : macos-latest
@@ -47,12 +48,14 @@ jobs:
4748 if : " !startsWith(matrix.os, 'windows')"
4849 run : |
4950 cd refs/yaml-test-suite
51+ git fetch origin data:data
5052 make data
5153
5254 - name : Setup test suite (Windows)
5355 if : startsWith(matrix.os, 'windows')
5456 run : |
55- cd refs\yaml-test-suite
57+ cd refs/yaml-test-suite
58+ git fetch origin data:data
5659 make data
5760 shell : bash
5861
@@ -84,12 +87,22 @@ jobs:
8487
8588 - name : Test (Windows)
8689 if : startsWith(matrix.os, 'windows')
90+ working-directory : build
8791 run : |
88- cd build
8992 .\Release\cyaml_suite.exe ..\refs\yaml-test-suite\data
9093 .\Release\ypath_test.exe ..\refs\ypath\tests.yml
9194 .\Release\test_api.exe
9295
96+ - name : Generate summary (Unix)
97+ if : " !startsWith(matrix.os, 'windows') && always()"
98+ run : cd build && ./summary_gen >> $GITHUB_STEP_SUMMARY
99+
100+ - name : Generate summary (Windows)
101+ if : startsWith(matrix.os, 'windows') && always()
102+ working-directory : build
103+ run : .\Release\summary_gen.exe >> $env:GITHUB_STEP_SUMMARY
104+ shell : pwsh
105+
93106 - name : Package (macOS)
94107 if : startsWith(matrix.os, 'macos')
95108 run : |
0 commit comments