Skip to content

Commit

Permalink
Merge pull request #10 from feltor-dev/remove_codecov
Browse files Browse the repository at this point in the history
Remove codecov
  • Loading branch information
mwiesenberger authored Apr 30, 2024
2 parents 7c2e6c1 + 3b6c047 commit f37d213
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
matrix:
python-version: [3.9]
pip-packages:
- "setuptools pip pytest pytest-cov coverage codecov mypy"
- "setuptools pip pytest mypy"
fail-fast: false

steps:
Expand All @@ -45,6 +45,4 @@ jobs:
- name: Test with pytest
run: |
pip install pytest
pytest -v --cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
pytest
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
![Tests](https://github.com/uit-cosmo/xFELTOR/actions/workflows/workflow.yml/badge.svg)
[![Sourcery](https://img.shields.io/badge/Sourcery-enabled-brightgreen)](https://sourcery.ai)
[![codecov](https://codecov.io/gh/uit-cosmo/xFELTOR/branch/main/graph/badge.svg?token=X5056EG1CR)](https://codecov.io/gh/uit-cosmo/xFELTOR)
# xFELTOR
xFELTOR provides an interface for collecting the output data from a
[FELTOR](https://github.com/feltor-dev/feltor) simulation into an
Expand Down
2 changes: 1 addition & 1 deletion xfeltor/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _normalise_time_coord(time_values):
tmax = time_values.max()
if tmax < 1.0e-2 or tmax > 1.0e6:
scale_pow = int(np.floor(np.log10(tmax)))
scale_factor = 10 ** scale_pow
scale_factor = 10**scale_pow
time_values = time_values / scale_factor
suffix = f"e{scale_pow}"
else:
Expand Down

0 comments on commit f37d213

Please sign in to comment.