File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,24 +111,24 @@ jobs:
111
111
else
112
112
targets="--lib --bins"
113
113
fi
114
- echo cargo check -p $i $FEATURES $targets
115
- cargo check -p $i $FEATURES $targets
114
+ echo cargo check -p $i $FEATURES $targets --target ${{ matrix.cargo_targets }}
115
+ cargo check -p $i $FEATURES $targets --target ${{ matrix.cargo_targets }}
116
116
done
117
117
env :
118
118
RUST_LOG : ${{ runner.debug && 'TRACE' || 'DEBUG'}}
119
119
120
120
- name : build tests
121
121
run : |
122
- cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests --no-run
122
+ cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests --no-run --target ${{ matrix.cargo_targets }}
123
123
124
124
- name : list ignored tests
125
125
run : |
126
- cargo nextest list --workspace ${{ env.FEATURES }} --lib --bins --tests --run-ignored ignored-only
126
+ cargo nextest list --workspace ${{ env.FEATURES }} --lib --bins --tests --run-ignored ignored-only --target ${{ matrix.cargo_targets }}
127
127
128
128
- name : run tests
129
129
run : |
130
130
mkdir -p output
131
- cargo nextest run --workspace ${{ env.FEATURES }} --lib --bins --tests --profile ci --run-ignored ${{ inputs.flaky && 'all' || 'default' }} --no-fail-fast --message-format ${{ inputs.flaky && 'libtest-json' || 'human' }} > output/${{ matrix.name }}_${{ matrix.features }}_${{ matrix.rust }}.json
131
+ cargo nextest run --workspace ${{ env.FEATURES }} --target ${{ matrix.cargo_targets }} -- lib --bins --tests --profile ci --run-ignored ${{ inputs.flaky && 'all' || 'default' }} --no-fail-fast --message-format ${{ inputs.flaky && 'libtest-json' || 'human' }} > output/${{ matrix.name }}_${{ matrix.features }}_${{ matrix.rust }}.json
132
132
env :
133
133
RUST_LOG : ${{ runner.debug && 'TRACE' || 'DEBUG'}}
134
134
NEXTEST_EXPERIMENTAL_LIBTEST_JSON : 1
You can’t perform that action at this time.
0 commit comments