Skip to content

Commit

Permalink
fix: integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jvallesm committed Oct 30, 2024
1 parent 0a3cd60 commit c37edff
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,23 @@ jobs:
uses: actions/checkout@v3
with:
repository: instill-ai/instill-core
ref: jvalles/ins-6570-pass-oauth-client-and-secret-ids-to-backend-and-frontend # TODO remove

- name: Load .env file (instill-core)
uses: cardinalby/export-env-action@v2
with:
envFile: '.env|.env.component'
envFile: .env

- name: Launch Instill Core (latest)
# CFG_COMPONENT_* variables are injected to test OAuth connection
# CFG_COMPONENT_SECRETS_GITHUB* variables are injected to test OAuth connection
# creation
run: |
cat .env.component
echo '====='
sed -i 's/\(\w\+GITHUB\w\+\)=/\1=foo/' .env.component
echo '====='
cat .env.component
echo '====='
COMPOSE_PROFILES=all \
EDITION=local-ce:test \
RAY_LATEST_TAG=latest \
Expand Down

0 comments on commit c37edff

Please sign in to comment.