Improve GH actions artifact caching & comment out vitess sql_schema_desc
@@ -63,7 +63,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
- key: me-ie-${{ runner.os }}-cargo-${{ matrix.database.name }}-${{ hashFiles('**/Cargo.lock') }}
+ key: me-ie-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: cargo test -p introspection-engine-tests
if: ${{ !matrix.database.is_vitess }}
@@ -91,12 +91,15 @@ jobs:
TEST_DATABASE_URL: ${{ matrix.database.url }}
TEST_SHADOW_DATABASE_URL: ${{ matrix.database.shadow_database_url }}
- - run: cargo test -p sql-schema-describer -- --test-threads=1
- if: ${{ matrix.database.is_vitess }}
- env:
- CLICOLOR_FORCE: 1
- TEST_DATABASE_URL: ${{ matrix.database.url }}
- TEST_SHADOW_DATABASE_URL: ${{ matrix.database.shadow_database_url }}
+ # We cannot test this here until describer can do soft resets, or vitess
+ # can create/drop databases without crashing.
+ #
+ # - run: cargo test -p sql-schema-describer -- --test-threads=1
+ # if: ${{ matrix.database.is_vitess }}
+ # env:
+ # CLICOLOR_FORCE: 1
+ # TEST_DATABASE_URL: ${{ matrix.database.url }}
+ # TEST_SHADOW_DATABASE_URL: ${{ matrix.database.shadow_database_url }}
- run: cargo test -p migration-engine-tests -- --test-threads=1
if: ${{ matrix.database.is_vitess }}
@@ -136,7 +139,7 @@ jobs:
~/.cargo/registry
~/.cargo/git
target
- key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ matrix.db.name }}-${{ hashFiles('**/Cargo.lock') }}
+ key: ${{ runner.os }}-cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
- name: Install ${{ matrix.db.name }}
run: choco install ${{ matrix.db.name }}
