Skip to content

Commit c5e8e8f

Browse files
committed
ci: remove main_tests from matrix
It is set to `1` all the time anyway.
1 parent 3bc47da commit c5e8e8f

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/bindgen.yml

Lines changed: 0 additions & 2 deletions
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
@@ -158,7 +157,6 @@ jobs:
158157
- name: Run all the tests
159158
env:
160159
GITHUB_ACTIONS_OS: ${{matrix.os}}
161-
BINDGEN_MAIN_TESTS: ${{matrix.main_tests}}
162160
BINDGEN_RELEASE_BUILD: ${{matrix.release_build}}
163161
BINDGEN_FEATURE_RUNTIME: ${{matrix.feature_runtime}}
164162
BINDGEN_NO_DEFAULT_FEATURES: ${{matrix.no_default_features}}

ci/test.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ CARGO_ARGS=`get_cargo_args`
5050
# Ensure we build without warnings
5151
RUSTFLAGS="-Dwarnings" cargo check $CARGO_ARGS
5252

53-
if [ "$BINDGEN_MAIN_TESTS" == "1" ]; then
54-
# Run the tests
55-
(cd bindgen-tests && cargo test $CARGO_ARGS)
56-
fi
53+
# Run the tests
54+
cd bindgen-tests && cargo test $CARGO_ARGS
5755

5856
assert_no_diff
5957

0 commit comments

Comments
 (0)