Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rjambrecic committed Nov 21, 2024
1 parent 92e1a98 commit 41a9468
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,8 @@ jobs:
echo "https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository"
exit 1
fi
- name: Check for MAILCHIMP_API_KEY
run: |
if [ -z "${{ secrets.MAILCHIMP_API_KEY }}" ]; then
echo "Error: MAILCHIMP_API_KEY is not set in GitHub secrets."
echo "Please set the MAILCHIMP_API_KEY secret in your repository settings."
exit 1
fi
- name: Run tests
run: pytest
env:
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
MAILCHIMP_API_KEY: "test-key" # pragma: allowlist secret

0 comments on commit 41a9468

Please sign in to comment.