Skip to content

Commit

Permalink
Start incremental migration tests at 0.3.0 as pg_partman which is onl…
Browse files Browse the repository at this point in the history
…y used prior to v0.3.0 introduced a breaking change with no way to pin to earlier version
  • Loading branch information
bitner committed Jan 24, 2024
1 parent a582d4b commit ca082e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/pypgstac/bin/test
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,14 @@ ALTER DATABASE pgstac_test_migration SET search_path to pgstac, public;
ALTER DATABASE pgstac_test_migration SET client_min_messages to $CLIENTMESSAGES;
EOSQL
export PGDATABASE=pgstac_test_migration
echo "Migrating from version 0.1.9"
echo "Migrating from version 0.3.0"
cd $SRCDIR/pypgstac
python -m venv venv
source venv/bin/activate
pip install --cache /tmp/.pipcache --upgrade pip
pip install --cache /tmp/.pipcache -e .[dev,test,psycopg]

pypgstac migrate --toversion 0.1.9
pypgstac migrate --toversion 0.3.0
pypgstac --version

pypgstac migrate
Expand Down

0 comments on commit ca082e4

Please sign in to comment.