Skip to content

Commit

Permalink
use explicit env vars for turbo tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jnaulty committed Oct 30, 2024
1 parent 9c8a0d3 commit 759eada
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/turborepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_KMS_TEST_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ vars.AWS_KMS_AWS_REGION }}
AWS_KMS_KEY_ID: ${{ secrets.AWS_KMS_TEST_KMS_KEY_ID }}
run: pnpm turbo test --env-mode=loose
run: pnpm turbo test

# Pack wallet extension and upload it as an artifact for easy developer use:
- name: Wallet Extension Has Changes?
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"license": "Apache-2.0",
"scripts": {
"test": "turbo run test --env-mode=loose",
"test": "turbo run test",
"test:dev": "turbo run test -- --run",
"icons": "pnpm --filter ./apps/icons",
"wallet": "turbo --filter ./apps/wallet",
Expand Down
3 changes: 2 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"lint": {},
"test": {
"dependsOn": ["^build", "build"],
"outputs": ["coverage/**"]
"outputs": ["coverage/**"],
"env": ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_REGION", "AWS_KMS_KEY_ID"]
},
"dev": {
"dependsOn": ["^build"],
Expand Down

0 comments on commit 759eada

Please sign in to comment.