Skip to content
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
17 changes: 9 additions & 8 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,16 @@ jobs:
- name: Install dependencies and run tests
run: pixi run -e dev test

- name: Upload coverage
uses: codecov/codecov-action@v4.0.1
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN_NEW }}
name: Pytest coverage
env_vars: OS,PYTHON,GITHUB_ACTIONS,GITHUB_ACTION,GITHUB_REF,GITHUB_REPOSITORY,GITHUB_HEAD_REF,GITHUB_RUN_ID,GITHUB_SHA,COVERAGE_FILE
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python-version }}
name: unit-tests-job
flags: unittests
files: ./coverage-unit.xml
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
slug: EasyScience/corelib

Package_Testing:

Expand Down
465 changes: 248 additions & 217 deletions pixi.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/easyscience/global_object/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def __repr__(self) -> str:
s += ', '.join(self._type)
else:
s += 'Undefined'
s += '. With'
if self.finalizer is None:
s += 'out'
s += 'a finalizer.'
s += '. Without a finalizer.'
else:
s += '. With a finalizer.'
return s

def __delitem__(self, key):
Expand Down
4 changes: 4 additions & 0 deletions tests/unit_tests/fitting/calculators/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# SPDX-FileCopyrightText: 2025 EasyScience contributors <[email protected]>
# SPDX-License-Identifier: BSD-3-Clause
# © 2021-2025 Contributors to the EasyScience project <https://github.com/easyScience/EasyScience

Loading
Loading