@@ -271,9 +271,6 @@ jobs:
271271 docker cp ci-${APP}-${CI_PIPELINE_ID}-${{ github.job }}:/usr/src/app/log ./ || true
272272 docker cp ci-${APP}-${CI_PIPELINE_ID}-${{ github.job }}:/usr/src/app/coverage.txt ./ || true
273273
274- # Save the database schema as an artifact
275- docker compose run --no-deps --rm --entrypoint dbtoyaml app --no-owner --no-privileges test_${PGDATABASE} > schema.yml
276- diff pyrseas/schema.yaml schema.yml > schema.diff || true
277274 - name : " Upload test artifacts"
278275 if : success() || failure()
279276 uses : actions/upload-artifact@v4
@@ -400,9 +397,6 @@ jobs:
400397 # Copy the artifacts out of the Docker container to project directory
401398 docker cp ci-${APP}-${CI_PIPELINE_ID}-${{ github.job }}:/usr/src/app/log ./ || true
402399 docker cp ci-${APP}-${CI_PIPELINE_ID}-${{ github.job }}:/usr/src/app/coverage.txt ./ || true
403- # Save the database schema as an artifact
404- docker compose run --no-deps --rm --entrypoint dbtoyaml app --no-owner --no-privileges test_${PGDATABASE} > schema.yml
405- diff pyrseas/schema.yaml schema.yml > schema.diff || true
406400 - name : " Upload test artifacts"
407401 if : success() || failure()
408402 uses : actions/upload-artifact@v4
@@ -530,9 +524,6 @@ jobs:
530524 # Copy the artifacts out of the Docker container to project directory
531525 docker cp ci-${APP}-${CI_PIPELINE_ID}-${{ github.job }}:/usr/src/app/log ./ || true
532526 docker cp ci-${APP}-${CI_PIPELINE_ID}-${{ github.job }}:/usr/src/app/coverage.txt ./ || true
533- # Save the database schema as an artifact
534- docker compose run --no-deps --rm --entrypoint dbtoyaml app --no-owner --no-privileges test_${PGDATABASE} > schema.yml
535- diff pyrseas/schema.yaml schema.yml > schema.diff || true
536527 - name : " Upload test artifacts"
537528 if : success() || failure()
538529 uses : actions/upload-artifact@v4
@@ -661,11 +652,6 @@ jobs:
661652 # Copy the artifacts out of the Docker container to project directory
662653 docker cp ci-${APP}-${CI_PIPELINE_ID}-${{ github.job }}:/usr/src/app/log ./ || true
663654 docker cp ci-${APP}-${CI_PIPELINE_ID}-${{ github.job }}:/usr/src/app/coverage.txt ./ || true
664- # The prod image does not include pyrseas/dbtoyaml. Building a test image to include that
665- docker compose build app
666- # Save the database schema as an artifact
667- docker compose run --no-deps --rm --entrypoint dbtoyaml app --no-owner --no-privileges test_${PGDATABASE} > schema.yml
668- diff pyrseas/schema.yaml schema.yml > schema.diff || true
669655 - name : " Upload test artifacts"
670656 if : success() || failure()
671657 uses : actions/upload-artifact@v4
0 commit comments