Skip to content

Commit

Permalink
Update codecov workflow #145
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludee committed Feb 6, 2025
1 parent b8bbb14 commit 15d9f97
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5

- name: Install dependencies
run: pip install pytest pytest-cov
Expand All @@ -30,6 +30,6 @@ jobs:
run: pytest --cov --cov-report=xml

- name: Upload results to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
12 changes: 12 additions & 0 deletions environment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SPDX-FileCopyrightText: 2024 Ludwig Hülk <https://github.com/Ludee> © Reiner Lemoine Institut
# SPDX-FileCopyrightText: super-repo v0.5.0 <https://github.com/rl-institut/super-repo>
# SPDX-License-Identifier: MIT

name: py310
channels:
- conda-forge
dependencies:
- python=3.10
- pip
- pip:
- -r requirements.txt
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ mkdocs-material
mkdocstrings
mkdocstrings-python-legacy
pre-commit
pyld
pytest
pytest-cov
referencing
ruff
tox
twine
wheel
pyld

0 comments on commit 15d9f97

Please sign in to comment.