Skip to content

Commit

Permalink
Merge branch 'pbeukema/fastapi' of github.com:allenai/rslearn_project…
Browse files Browse the repository at this point in the history
…s into pbeukema/fastapi
  • Loading branch information
yawenzzzz committed Oct 21, 2024
2 parents 5a1149c + 3f546bc commit 3a9cad1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,19 @@ jobs:
run: |
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose -f docker-compose.yaml build
- name: Authenticate into gcp
uses: "google-github-actions/auth@v2"
with:
credentials_json: ${{ secrets.GOOGLE_CREDENTIALS }}

- name: Run tests with Docker Compose
run: |
docker compose -f docker-compose.yaml run
docker compose -f docker-compose.yaml run \
-e AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }} \
-e AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }} \
-v ${{env.GOOGLE_GHA_CREDS_PATH}}:/tmp/gcp-credentials.json:ro \
-e GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcp-credentials.json \
-e RSLP_BUCKET rslearn-eai \
test pytest tests/
- name: Clean up
Expand Down

0 comments on commit 3a9cad1

Please sign in to comment.