Skip to content

Commit

Permalink
Merge pull request #154 from meroxa/lk/update-acceptance-tests
Browse files Browse the repository at this point in the history
Update acceptance tests workflow
  • Loading branch information
lyuboxa authored Jun 17, 2021
2 parents 5fb701d + 62bea95 commit d80f45e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ jobs:
AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_ACCEPTANCE_CLIENT_SECRET }}
AUTH0_PASSWORD: ${{ secrets.AUTH0_PASSWORD }}
AUTH0_USERNAME: ${{ secrets.AUTH0_USERNAME }}
PG_URL: ${{ secrets.TEST_DB_URL }}
MYSQL_URL: ${{ secrets.TEST_MYSQL_URL }}
API_URL: "https://api.staging.meroxa.io"
run: |
MINIKUBE_PG_URL="${{ secrets.TEST_DB_URL }}"
MINIKUBE_API_HOST="https://api.staging.meroxa.io"
docker build -t meroxa/acceptance --build-arg=CLI_PATH=./cli .
docker run \
-e AUTH0_DOMAIN=${AUTH0_DOMAIN} \
Expand All @@ -49,4 +50,4 @@ jobs:
-e AUTH0_PASSWORD=${AUTH0_PASSWORD} \
-e AUTH0_USERNAME=${AUTH0_USERNAME} \
-e AUTH0_AUDIENCE=${AUTH0_AUDIENCE} \
meroxa/acceptance -test.v -postgres-url $MINIKUBE_PG_URL -api-host $MINIKUBE_API_HOST
meroxa/acceptance -test.v -postgres-url $PG_URL -api-host $API_URL -mysql-url "$MYSQL_URL"

0 comments on commit d80f45e

Please sign in to comment.