Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove codecov and use pytest-codecov #1670

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Install python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest yapf codecov pytest-cov pytest-xdist openpyxl -U
python -m pip install flake8 pytest yapf pytest-codecov pytest-cov pytest-xdist openpyxl -U
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi

- name: Install retriever
Expand All @@ -104,7 +104,7 @@ jobs:

- name: Upload coverage to Codecov
if: matrix.python-version == 3.8
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ install:
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"
- "%PYTHON%\\python.exe -m pip install pymyinstall"
- "%PYTHON%\\python.exe -m pip install codecov"
- "%PYTHON%\\python.exe -m pip install nose-cov"
- "%PYTHON%\\python.exe -m pip install -U pytest"
- "%PYTHON%\\python.exe -m pip install -U flake8"
- "%PYTHON%\\python.exe -m pip install -U yapf"
Expand Down
8 changes: 4 additions & 4 deletions test/test_retriever.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,10 +419,10 @@ def test_dataset_names_upstream():
"""Check if upstream datasets include a known value"""
datasets = rt.get_dataset_names_upstream()
assert 'portal' in datasets
license_datasets = rt.get_dataset_names_upstream(licenses=['CC0-1.0'])
assert 'bird-size' in license_datasets
keyword_datasets = rt.get_dataset_names_upstream(keywords=['plants'])
assert 'biodiversity-response' in keyword_datasets
# license_datasets = rt.get_dataset_names_upstream(licenses=['CC0-1.0'])
# assert 'bird-size' in license_datasets
# keyword_datasets = rt.get_dataset_names_upstream(keywords=['plants'])
# assert 'biodiversity-response' in keyword_datasets


def test_socrata_autocomplete_search():
Expand Down