Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
apricot13 committed Mar 25, 2024
1 parent da584eb commit ee4725b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
RAILS_ENV: test
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
OFSTED_FEED_API_ENDPOINT: https://test-ofsted-feed.stub # this is not a real url, we just need an env variable set for the stub to work in tests
DATABASE_URL: postgresql://outpost:password@host.docker.internal:5432/outpost_test
DB_URI: mongodb://root:password@host.docker.internal:27017/outpost_development?authSource=admin
DATABASE_URL: postgresql://outpost:password@postgres:5432/outpost_test
DB_URI: mongodb://root:password@mongo:27017/outpost_development?authSource=admin
run: |
docker run \
-e RAILS_ENV=test \
-e GOOGLE_API_KEY="${{ secrets.GOOGLE_API_KEY }}" \
-e OFSTED_FEED_API_ENDPOINT="https://test-ofsted-feed.stub" \
-e DATABASE_URL="postgresql://outpost:password@host.docker.internal:5432/outpost_test" \
-e DB_URI="mongodb://root:password@host.docker.internal:27017/outpost_development?authSource=admin" \
-e DATABASE_URL="postgresql://outpost:password@postgres:5432/outpost_test" \
-e DB_URI="mongodb://root:password@mongo:27017/outpost_development?authSource=admin" \
-v ${{ github.workspace }}:/app --workdir /app gliderlabs/herokuish:latest bash -c "/bin/herokuish buildpack test"
- name: Upload report to Codecov
Expand Down

0 comments on commit ee4725b

Please sign in to comment.