File tree 1 file changed +2
-15
lines changed
1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change 24
24
ARTIFACT_URL : ${{ needs.build-linux-kernel.outputs.kernel-artifact-url }}
25
25
PYTHON : ${{ steps.py312.outputs.python-path }}
26
26
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
41
28
# Yes, there appears to be no way to just retrieve the
42
29
# uploaded artifact. One can't use actions/download-artifact
43
30
# and provide any of the outputs of actions/upload-artifact.
56
43
cat <<EOF > main.sh
57
44
set -e -u -o pipefail
58
45
export PYTHON=${PYTHON}
59
- ${tests}
46
+ cargo test --include-ignored
60
47
EOF
61
48
chmod a+x main.sh
62
49
- name : Test
You can’t perform that action at this time.
0 commit comments