Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
Update form of environment variables passed in CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
paulkr committed May 10, 2024
1 parent 06e5087 commit 88f4131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ jobs:
run: ls -R .
shell: bash
- name: Test bindings
run: docker run --rm -v $(pwd):/build -w /build -e INTEGRATIONOS_SECRET_KEY=${INTEGRATIONOS_SECRET_KEY} -e INTEGRATIONOS_CONNECTION_KEY=${INTEGRATIONOS_CONNECTION_KEY} -e INTEGRATIONOS_TESTING_MODEL=${INTEGRATIONOS_TESTING_MODEL} node:${{ matrix.node }}-slim yarn test
run: docker run --rm -v $(pwd):/build -w /build -e INTEGRATIONOS_SECRET_KEY=${{ env.INTEGRATIONOS_SECRET_KEY }} -e INTEGRATIONOS_CONNECTION_KEY=${{ env.INTEGRATIONOS_CONNECTION_KEY }} -e INTEGRATIONOS_TESTING_MODEL=${{ env.INTEGRATIONOS_TESTING_MODEL }} node:${{ matrix.node }}-slim yarn test
env:
INTEGRATIONOS_SECRET_KEY: ${{ secrets.INTEGRATIONOS_SECRET_KEY }}
INTEGRATIONOS_CONNECTION_KEY: ${{ secrets.INTEGRATIONOS_CONNECTION_KEY }}
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-slim
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build -e INTEGRATIONOS_SECRET_KEY=${INTEGRATIONOS_SECRET_KEY} -e INTEGRATIONOS_CONNECTION_KEY=${INTEGRATIONOS_CONNECTION_KEY} -e INTEGRATIONOS_TESTING_MODEL=${INTEGRATIONOS_TESTING_MODEL}
options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build -e INTEGRATIONOS_SECRET_KEY=${{ env.INTEGRATIONOS_SECRET_KEY }} -e INTEGRATIONOS_CONNECTION_KEY=${{ env.INTEGRATIONOS_CONNECTION_KEY }} -e INTEGRATIONOS_TESTING_MODEL=${{ env.INTEGRATIONOS_TESTING_MODEL }}
run: |
set -e
yarn test
Expand Down

0 comments on commit 88f4131

Please sign in to comment.