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 ec66858 commit a22b874
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
MONGO_INITDB_ROOT_PASSWORD: password
ports:
- 27017:27017
herokuish:
image: gliderlabs/herokuish:latest
options: >-
--mount type=bind,source=${{ github.workspace }},target=/app
steps:
- name: Checkout repository
Expand All @@ -43,13 +47,13 @@ jobs:
DATABASE_URL: postgresql://outpost:password@localhost:5432/outpost_test
DB_URI: mongodb://root:password@localhost:27017/outpost_development?authSource=admin
run: |
docker run \
docker exec \
-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@localhost:5432/outpost_test" \
-e DB_URI="mongodb://root:password@localhost:27017/outpost_development?authSource=admin" \
-v ${{ github.workspace }}:/app --workdir /app gliderlabs/herokuish:latest bash -c "/bin/herokuish buildpack test"
herokuish bash -c "/bin/herokuish buildpack test"
- name: Upload report to Codecov
uses: codecov/codecov-action@v2

0 comments on commit a22b874

Please sign in to comment.