Skip to content

Commit d894180

Browse files
committed
Test
1 parent 35f5b62 commit d894180

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/test-linux.yml

+2-15
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,7 @@ jobs:
2424
ARTIFACT_URL: ${{ needs.build-linux-kernel.outputs.kernel-artifact-url }}
2525
PYTHON: ${{ steps.py312.outputs.python-path }}
2626
run: |
27-
# Build all tests.
28-
cargo build --tests
29-
# Get a list of tests we just built.
30-
IFS='' tests=$(cargo build -Z unstable-options --tests --build-plan | \
31-
jq -r '
32-
.invocations[] |
33-
select(
34-
.package_name == "blazesym" and
35-
.outputs[0] != null and
36-
(.outputs[0] | endswith(".rlib") | not) and
37-
(.outputs[0] | contains("/build/") | not)
38-
) |
39-
.outputs[0]
40-
')
27+
cargo test --no-run
4128
# Yes, there appears to be no way to just retrieve the
4229
# uploaded artifact. One can't use actions/download-artifact
4330
# and provide any of the outputs of actions/upload-artifact.
@@ -56,7 +43,7 @@ jobs:
5643
cat <<EOF > main.sh
5744
set -e -u -o pipefail
5845
export PYTHON=${PYTHON}
59-
${tests}
46+
cargo test --include-ignored
6047
EOF
6148
chmod a+x main.sh
6249
- name: Test

0 commit comments

Comments
 (0)