Skip to content

Commit bdce633

Browse files
committed
Move catalog update checks into a separate ci/cd step
1 parent 7f50836 commit bdce633

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/test.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,21 @@ jobs:
5757
# Start postgres
5858
sudo su postgres -c "PG_VERSION=$PG_VERSION RUN_TESTS=0 ./ci/scripts/run-tests-linux.sh" && \
5959
sudo su -c "PG_VERSION=$PG_VERSION python3 ./scripts/test_updates.py -U postgres" &&\
60-
sudo su -c "PG_VERSION=$PG_VERSION DATABASE_URL='postgresql://postgres@localhost:5432/postgres' ruby ./scripts/test_updates/main.rb test lantern" &&\
6160
echo "Done with updates"
62-
6361
env:
6462
PG_VERSION: ${{ matrix.postgres }}
6563
if: ${{ !startsWith(matrix.os, 'mac') }}
64+
- name: Run catalog update checks
65+
id: catalog-update-test-linux
66+
continue-on-error: true
67+
run: |
68+
sudo su postgres -c "PG_VERSION=$PG_VERSION RUN_TESTS=0 ./ci/scripts/run-tests-linux.sh" && \
69+
sudo su -c "PG_VERSION=$PG_VERSION DATABASE_URL='postgresql://postgres@localhost:5432/postgres' ruby ./scripts/test_updates/main.rb test lantern" &&\
70+
echo "Done catalog update checks"
71+
env:
72+
PG_VERSION: ${{ matrix.postgres }}
73+
if: ${{ !startsWith(matrix.os, 'mac') }}
74+
6675
- name: Write a comment if the update tests failied above
6776
if: ${{ !startsWith(matrix.os, 'mac') }}
6877
env:

0 commit comments

Comments
 (0)