Skip to content

Commit 089c624

Browse files
committed
auth test key fix
1 parent b094f27 commit 089c624

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/python-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ jobs:
2525
pip install -r requirements-dev.txt
2626
# Install the package in development mode
2727
pip install -e .
28-
- name: Run tests
28+
- name: Run unit tests
2929
run: |
30-
PYTHONPATH=$PWD pytest --cov=src/borsdata_client tests/
30+
PYTHONPATH=$PWD pytest --cov=src/borsdata_client tests/ -k "not integration"
31+
- name: Run integration tests
32+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
33+
run: |
34+
PYTHONPATH=$PWD pytest --cov=src/borsdata_client tests/ -k "integration" --cov-append
3135
env:
3236
BORSDATA_API_KEY: ${{ secrets.BORSDATA_API_KEY }}
3337
- name: Upload coverage reports to Codecov

0 commit comments

Comments
 (0)