We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b094f27 commit 089c624Copy full SHA for 089c624
.github/workflows/python-tests.yml
@@ -25,9 +25,13 @@ jobs:
25
pip install -r requirements-dev.txt
26
# Install the package in development mode
27
pip install -e .
28
- - name: Run tests
+ - name: Run unit tests
29
run: |
30
- PYTHONPATH=$PWD pytest --cov=src/borsdata_client tests/
+ 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
35
env:
36
BORSDATA_API_KEY: ${{ secrets.BORSDATA_API_KEY }}
37
- name: Upload coverage reports to Codecov
0 commit comments