File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -127,10 +127,20 @@ jobs:
127127 # Must run after setup-node so correct native binaries are installed
128128 - run : pnpm install
129129
130- - run : cargo test --target ${{ matrix.target }}
130+ - name : Build tests
131+ run : cargo test --no-run --target ${{ matrix.target }}
131132 if : ${{ matrix.os != 'ubuntu-latest' }}
132133
133- - run : cargo-zigbuild test --target x86_64-unknown-linux-gnu.2.17
134+ - name : Build tests
135+ run : cargo-zigbuild test --no-run --target x86_64-unknown-linux-gnu.2.17
136+ if : ${{ matrix.os == 'ubuntu-latest' }}
137+
138+ - name : Run tests
139+ run : cargo test --target ${{ matrix.target }}
140+ if : ${{ matrix.os != 'ubuntu-latest' }}
141+
142+ - name : Run tests
143+ run : cargo-zigbuild test --target x86_64-unknown-linux-gnu.2.17
134144 if : ${{ matrix.os == 'ubuntu-latest' }}
135145
136146 test-musl :
@@ -175,7 +185,11 @@ jobs:
175185 corepack enable
176186 pnpm install
177187
178- - run : cargo test
188+ - name : Build tests
189+ run : cargo test --no-run
190+
191+ - name : Run tests
192+ run : cargo test
179193
180194 fmt :
181195 name : Format and Check Deps
You can’t perform that action at this time.
0 commit comments