fix codecov upload step

This commit is contained in:
Cameron Yick
2023-04-16 19:49:32 -04:00
parent 081a41a912
commit 8b632d69f0

View File

@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.8', '3.9', '3.10'] python-version: ['3.7', '3.8', '3.9']
WITH_PANDAS: [false, true] WITH_PANDAS: [false, true]
steps: steps:
@@ -30,7 +30,7 @@ jobs:
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python setup.py develop python setup.py develop
python -m pip install flake8 pytest-cov codecov vcrpy black python -m pip install flake8 pytest-cov coverage vcrpy black
tools/install_pandas.sh tools/install_pandas.sh
- name: black - name: black
run: | run: |
@@ -46,5 +46,5 @@ jobs:
TIINGO_API_KEY: 0000000000000000000000000000000000000000 TIINGO_API_KEY: 0000000000000000000000000000000000000000
run: | run: |
py.test --cov=./tiingo py.test --cov=./tiingo
- name: Run code coverage - name: Upload coverage to Codecov
run: codecov uses: codecov/codecov-action@v3