Skip to content

Commit 2da868d

Browse files
committed
ci: remove main_tests from matrix
It is set to `1` all the time anyway.
1 parent 798d618 commit 2da868d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/bindgen.yml

-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ jobs:
126126
matrix:
127127
os: [ubuntu-latest]
128128
llvm_version: ["9.0", "16.0"]
129-
main_tests: [1]
130129
release_build: [0, 1]
131130
no_default_features: [0, 1]
132131
# FIXME: There are no pre-built static libclang libraries, so the
@@ -168,7 +167,6 @@ jobs:
168167
- name: Run all the tests
169168
env:
170169
GITHUB_ACTIONS_OS: ${{matrix.os}}
171-
BINDGEN_MAIN_TESTS: ${{matrix.main_tests}}
172170
BINDGEN_RELEASE_BUILD: ${{matrix.release_build}}
173171
BINDGEN_FEATURE_RUNTIME: ${{matrix.feature_runtime}}
174172
BINDGEN_FEATURE_EXTRA_ASSERTS: ${{matrix.feature_extra_asserts}}

ci/test.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ CARGO_ARGS=`get_cargo_args`
5353
# Ensure we build without warnings
5454
RUSTFLAGS="-Dwarnings" cargo check $CARGO_ARGS
5555

56-
if [ "$BINDGEN_MAIN_TESTS" == "1" ]; then
57-
# Run the tests
58-
(cd bindgen-tests && cargo test $CARGO_ARGS)
59-
fi
56+
# Run the tests
57+
(cd bindgen-tests && cargo test $CARGO_ARGS)
6058

6159
assert_no_diff
6260

0 commit comments

Comments
 (0)