diff --git a/.github/workflows/publish-files.yml b/.github/workflows/publish-files.yml index 7d1eff7..ef29ebb 100644 --- a/.github/workflows/publish-files.yml +++ b/.github/workflows/publish-files.yml @@ -35,6 +35,13 @@ jobs: # Specify Database Connection TILED_TEST_POSTGRESQL_URI: postgresql+asyncpg://postgres:secret@localhost:5432 + - uses: GuillaumeFalourd/wait-sleep-action@v1 + with: + time: '1m' # for 1 minute + + - name: SANITY CHECK - list contents of table nodes + run: docker exec postgres psql -U postgres -c "SELECT * FROM nodes limit 100;" + - name: Dump sql data into binary format when generator finishes id: save if: steps.tiled.conclusion == 'success' diff --git a/scripts/run_tiled.sh b/scripts/run_tiled.sh index a88c4ea..ffe014a 100644 --- a/scripts/run_tiled.sh +++ b/scripts/run_tiled.sh @@ -3,5 +3,4 @@ set -e tiled catalog init TILED_TEST_POSTGRESQL_URI pwd -python scripts/generate_data.py TILED_TEST_POSTGRESQL_URI -docker exec postgres psql -U postgres -c "SELECT * FROM nodes limit 100;" \ No newline at end of file +python scripts/generate_data.py TILED_TEST_POSTGRESQL_URI \ No newline at end of file