Improve GH actions introspection-engine.yml
@@ -61,13 +61,19 @@ jobs:
target
key: introspection-engine-${{ runner.os }}-${{ matrix.database.name }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- - run: cargo test -p introspection-engine-tests && cargo test -p sql-schema-describer
+ - run: cargo test -p introspection-engine-tests
if: ${{ matrix.database.name != 'vitess_5_7' && matrix.database.name != 'vitess_8_0' }}
env:
CLICOLOR_FORCE: 1
TEST_DATABASE_URL: ${{ matrix.database.url }}
- - run: cargo test -p introspection-engine-tests && cargo test -p sql-schema-describer -- --test-threads=1
+ - run: cargo test -p sql-schema-describer
+ if: ${{ matrix.database.name != 'vitess_5_7' && matrix.database.name != 'vitess_8_0' }}
+ env:
+ CLICOLOR_FORCE: 1
+ TEST_DATABASE_URL: ${{ matrix.database.url }}
+
+ - run: cargo test -p introspection-engine-tests -- --test-threads=1
if: ${{ matrix.database.name == 'vitess_5_7' || matrix.database.name == 'vitess_8_0' }}
env:
CLICOLOR_FORCE: 1
