Skip to content

Commit

Permalink
Merge pull request #2227 from PolicyEngine/fix/env-var-tests
Browse files Browse the repository at this point in the history
Remove env var tests from deploy
  • Loading branch information
anth-volk authored Feb 28, 2025
2 parents 8593b0c + 97d8227 commit df5023a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,6 @@ jobs:
committer_name: Github Actions[bot]
author_name: Github Actions[bot]
message: Update PolicyEngine API
test_env_vars:
name: Test environment variables
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: GCP authentication
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCP_SA_KEY }}
- name: Run environment variable tests
run: pytest tests/env_variables/test_environment_variables.py
env:
POLICYENGINE_GITHUB_MICRODATA_AUTH_TOKEN: ${{ secrets.POLICYENGINE_GITHUB_MICRODATA_AUTH_TOKEN }}
HUGGING_FACE_TOKEN: ${{ secrets.HUGGING_FACE_TOKEN }}
POLICYENGINE_DB_PASSWORD: ${{ secrets.POLICYENGINE_DB_PASSWORD }}
deploy:
name: Deploy API
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: patch
changes:
removed:
- Environment variable tests from the GitHub push action, as we run no other tests in this action

0 comments on commit df5023a

Please sign in to comment.