mirror of
https://github.com/hydrosquall/tiingo-python.git
synced 2025-12-17 20:04:19 +01:00
fix codecov upload step
This commit is contained in:
8
.github/workflows/python-package.yml
vendored
8
.github/workflows/python-package.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user