Skip to content

Commit 55b9a9e

Browse files
committed
update workflow
1 parent 62af42b commit 55b9a9e

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,13 @@ jobs:
55
runs-on: ubuntu-latest
66
name: CI migration
77
steps:
8-
- name: Check database migrations with DLE
9-
uses: postgres-ai/[email protected]
8+
# Checkout the source code
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
12+
# Run DB migrations with the public action
13+
- name: DB migrations checker with DLE
14+
uses: postgres-ai/[email protected]
1015
id: db-migrations
1116
with:
1217
dbname: test
@@ -17,9 +22,23 @@ jobs:
1722
DATABASE_LAB_CI=true
1823
FLYWAY_CONNECT_RETRIES=60
1924
FLYWAY_BASELINE_ON_MIGRATE=true
25+
download_artifacts: false
26+
observation_interval: "1"
27+
max_lock_duration: "1"
28+
max_duration: "600"
2029
env:
2130
DLMC_CI_ENDPOINT: ${{ secrets.DLMC_CI_ENDPOINT }}
2231
DLMC_VERIFICATION_TOKEN: ${{ secrets.DLMC_VERIFICATION_TOKEN }}
2332

33+
# Download artifacts
34+
# - name: Upload artifacts
35+
# uses: actions/upload-artifact@v2
36+
# with:
37+
# name: artifacts
38+
# path: artifacts/*
39+
# if-no-files-found: ignore
40+
# if: always()
41+
42+
# Show migration summary
2443
- name: Get the response status
2544
run: echo "${{ steps.db-migration.outputs.response }}"

0 commit comments

Comments
 (0)