timescale / promscale_extension

[DEPRECATED] Tables, types and functions supporting Promscale
Other
37 stars 17 forks source link

Fix ci test workflow #577

Closed JamesGuthrie closed 1 year ago

JamesGuthrie commented 1 year ago

Description

All matrix builds were using the same cache key, causing collisions.

pgx puts the postgres data directory in target/pgx-test-data-<pg_ver>, which the Swatinem/rust-cache action cleans, by removing all its content, and subsequently caches. This breaks pgx tests, which do not expect the directory to be empty.

The combination of the cache collisions and incorrect caching caused a number of build failures, which could only be fixed by removing the cached artifacts from the GitHub cache.

Merge requirements

Please take into account the following non-code changes that you may need to make with your PR: