Skip to content

Commit

Permalink
CI: update coverage step to use the codecov action (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximlt authored Apr 17, 2024
1 parent 96c49ec commit 5a8f994
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,11 @@ jobs:
run: pytest -v hvplot --geo --cov=hvplot --cov-append
- name: examples tests
run: pytest -n auto --dist loadscope --nbval-lax -p no:python
- name: codecov
run: codecov
- name: Upload coverage reports to Codecov
if: github.event_name == 'push' || github.event_name == 'pull_request'
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
verbose: false
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 0 additions & 1 deletion envs/py3.10-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
- python=3.10
- bokeh>=1.0.0
- cartopy
- codecov
- colorcet>=2
- dask
- dask>=2021.3.0
Expand Down
1 change: 0 additions & 1 deletion envs/py3.11-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
- python=3.11
- bokeh>=1.0.0
- cartopy
- codecov
- colorcet>=2
- dask
- dask>=2021.3.0
Expand Down
1 change: 0 additions & 1 deletion envs/py3.12-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
- python=3.12
- bokeh>=1.0.0
- cartopy
- codecov
- colorcet>=2
- dask
- dask>=2021.3.0
Expand Down
1 change: 0 additions & 1 deletion envs/py3.8-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
- python=3.8
- bokeh>=1.0.0
- cartopy
- codecov
- colorcet>=2
- dask
- dask>=2021.3.0
Expand Down
1 change: 0 additions & 1 deletion envs/py3.9-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ dependencies:
- python=3.9
- bokeh>=1.0.0
- cartopy
- codecov
- colorcet>=2
- dask
- dask>=2021.3.0
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ HoloViz = "https://holoviz.org/"

[project.optional-dependencies]
tests-core = [
"codecov",
"dask[dataframe]",
"flake8",
"ipywidgets",
Expand Down

0 comments on commit 5a8f994

Please sign in to comment.