Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/_codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: python -m pip install . -r requirements-dev.txt

- name: Generate coverage report
run: pytest --retries 1 --cov --cov-report=xml
run: pytest --retries 1 -n auto --cov --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 #v5.5.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
run: python -m pip install --user . -r requirements-dev.txt

- name: Run unit tests
run: pytest -vv --retries 1 tests
run: pytest -vv --retries 1 -n auto tests
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ UV := uv
PYTHON := python
PYTEST := $(UV) run pytest
TESTS := tests
PYTEST_OPTS := -vv --junit-xml=pytest.xml
PYTEST_OPTS := -vv -x -n auto --junit-xml=pytest.xml
PYTEST_COV_OPTS := $(PYTEST_OPTS) --cov=cmethods --cov-report=xml:coverage.xml --cov-report=term

## ======= M A K E F I L E - T A R G E T S =====================================
Expand Down
2 changes: 1 addition & 1 deletion cmethods/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def adjust(
**kwargs,
)

result = monthly_result if result is None else xr.merge([result, monthly_result])
result = monthly_result if result is None else xr.merge([result, monthly_result], compat="no_conflicts", join="outer")

return _add_cmethods_metadata(result, method, **metadata_kwargs)

Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ matplotlib
pytest
pytest-cov
pytest-retry
pytest-xdist
scikit-learn
scipy
venv-kernel
Expand Down
Loading