Оптимизация Actions
Database Migration and Test / migrate-and-test (push) Failing after 9s

This commit is contained in:
2025-12-08 22:46:31 +03:00
parent 0db9a51e0a
commit b8d225d7c6
+3 -4
View File
@@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v3
- name: Create test database
uses: docker://postgres:alpine
uses: docker://alpine/psql:latest
with:
args: >
sh -c 'export PGPASSWORD=${{ secrets.DB_PASSWORD }} &&
@@ -30,7 +30,7 @@ jobs:
migrate
- name: Run Validation Test (SELECT COUNT)
uses: docker://postgres:alpine
uses: docker://alpine/psql:latest
with:
args: >
sh -c 'export PGPASSWORD=${{ secrets.DB_PASSWORD }} &&
@@ -38,8 +38,7 @@ jobs:
-c "SELECT COUNT(*) FROM users;"'
- name: Drop test database
if: always()
uses: docker://postgres:alpine
uses: docker://alpine/psql:latest
with:
args: >
sh -c 'export PGPASSWORD=${{ secrets.DB_PASSWORD }} &&