File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ [profile .with-xml .junit ]
2
+ path = " junit.xml"
Original file line number Diff line number Diff line change 80
80
- name : Check that tracked archives are up to date
81
81
run : git diff --exit-code # If this fails, the fix is usually to commit a regenerated archive.
82
82
83
+ test-fixtures-windows :
84
+ runs-on : windows-latest
85
+ steps :
86
+ - uses : actions/checkout@v4
87
+ - uses : dtolnay/rust-toolchain@stable
88
+ - uses : Swatinem/rust-cache@v2
89
+ - uses : taiki-e/install-action@v2
90
+ with :
91
+ tool : nextest
92
+ - name : " Test (nextest)"
93
+ id : nextest
94
+ env :
95
+ GIX_TEST_IGNORE_ARCHIVES : 1
96
+ run : cargo nextest --profile=with-xml run --workspace --no-fail-fast
97
+ continue-on-error : true
98
+ - name : Check how many tests failed
99
+ if : steps.nextest.outcome == 'failure'
100
+ env :
101
+ # See https://github.com/GitoxideLabs/gitoxide/issues/1358.
102
+ EXPECTED_FAILURE_COUNT : 14
103
+ run : |
104
+ [xml]$junit = Get-Content -Path 'target/nextest/with-xml/junit.xml'
105
+ if ($junit.testsuites.errors -ne 0) { exit 1 }
106
+ if ($junit.testsuites.failures -gt $env:EXPECTED_FAILURE_COUNT) { exit 1 }
107
+
83
108
test-32bit :
84
109
runs-on : ubuntu-latest
85
110
strategy :
You can’t perform that action at this time.
0 commit comments