Skip to content

Commit 91584cd

Browse files
committed
Foobar
1 parent cedfa94 commit 91584cd

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/test-linux.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,17 @@ jobs:
3030
ARTIFACT_URL: https://api.github.com/repos/d-e-s-o/blazesym/actions/artifacts/${{ needs.build-linux-kernel.outputs.kernel-artifact-id }}/zip
3131
PYTHON: ${{ steps.py312.outputs.python-path }}
3232
run: |
33+
tests=$(cargo build -Z unstable-options --tests --build-plan | \
34+
jq -r '
35+
.invocations[] |
36+
select(
37+
.package_name == "blazesym" and
38+
.outputs[0] != null and
39+
(.outputs[0] | endswith(".rlib") | not) and
40+
(.outputs[0] | contains("/build/") | not)
41+
) |
42+
.outputs[0]
43+
')
3344
# Yes, there appears to be no way to just retrieve the
3445
# uploaded artifact. One can't use actions/download-artifact
3546
# and provide any of the outputs of actions/upload-artifact.
@@ -45,7 +56,7 @@ jobs:
4556
unzip artifact.zip
4657
cat <<EOF > main.sh
4758
export PYTHON=${PYTHON}
48-
exec cargo test --workspace --all-targets --features=nightly,generate-large-test-files -- --include-ignored
59+
exec ${tests}
4960
EOF
5061
chmod a+x main.sh
5162
- name: Test

0 commit comments

Comments
 (0)