@@ -89,10 +89,10 @@ jobs:
89
89
- uses : taiki-e/install-action@v2
90
90
with :
91
91
tool : nextest
92
- - name : " Test (nextest)"
92
+ - name : Test (nextest)
93
93
id : nextest
94
94
env :
95
- GIX_TEST_IGNORE_ARCHIVES : 1
95
+ GIX_TEST_IGNORE_ARCHIVES : ' 1 '
96
96
run : cargo nextest --profile=with-xml run --workspace --no-fail-fast
97
97
continue-on-error : true
98
98
- name : Check for errors
@@ -101,7 +101,7 @@ jobs:
101
101
if ($junit_xml.testsuites.errors -ne 0) { exit 1 }
102
102
- name : Collect actual failures
103
103
run : |
104
- [xml]$junit_xml = Get-Content 'target/nextest/with-xml/junit.xml'
104
+ [xml]$junit_xml = Get-Content -Path 'target/nextest/with-xml/junit.xml'
105
105
106
106
$actual_failures = $junit_xml.SelectNodes("//testcase[failure]") |
107
107
ForEach-Object { "$($_.classname) $($_.name)" } |
@@ -128,8 +128,8 @@ jobs:
128
128
Set-Content -Path 'expected-failures.txt' -Value $expected_failures
129
129
- name : Compare expected and actual failures
130
130
run : |
131
- # Fail the check if there are any differences, even unexpectedly passing tests, so they can be
132
- # investigated. (If this check is made blocking for PRs, this exact check may need to be changed .)
131
+ # Fail on any differences, even unexpectedly passing tests, so they can be investigated.
132
+ # (If the job is made blocking for PRs, it may make sense to make this less stringent .)
133
133
git --no-pager diff --no-index --exit-code --unified=1000000 --color=always -- `
134
134
expected-failures.txt actual-failures.txt
135
135
0 commit comments