Skip to content

Commit

Permalink
feat: update test action for env
Browse files Browse the repository at this point in the history
  • Loading branch information
FacerAin committed Dec 6, 2023
1 parent 8405e05 commit 45c1886
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
- name: Make envs for testing
run: |
echo "PINECONE_API_KEY=${{secrets.PINECONE_API_KEY}}" >> .env
echo "PINECONE_ENVIRONMENT_REGION=${{secrets.PINECONE_ENVIRONMENT_REGION}}" >> .env
- name: Test code (pytest)
run: |
make test
1 change: 0 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ markers =
live: For testing actual API interactions (deselect with '-m "not live"')
env_files =
.env
.env.sample

0 comments on commit 45c1886

Please sign in to comment.