Skip to content

Commit

Permalink
Add env vars for local testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jan 23, 2025
1 parent 68157df commit 1f5f176
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 @@ -48,13 +48,13 @@ jobs:
export TEST_DEPLOY_LOCAL="true"
metacall-faas &
sleep 10
mv .env.example .env
npm run coverage
- name: Run Tests (production)
if: github.event_name != 'pull_request'
run: |
touch .env
echo 'METACALL_AUTH_EMAIL="${{ secrets.METACALL_AUTH_EMAIL }}"' >> .env
echo 'METACALL_AUTH_EMAIL="${{ secrets.METACALL_AUTH_EMAIL }}"' > .env
echo 'METACALL_AUTH_PASSWORD="${{ secrets.METACALL_AUTH_PASSWORD }}"' >> .env
npm run coverage
Expand Down

0 comments on commit 1f5f176

Please sign in to comment.