-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve dtype better when specified. (#389)
* Preserve dtype better when specified. * Add one more test * tweak test * more test * [revert] test with Xarray PR branch * tweak * show versions * Drop python 3.9, use ruff * switch to Ruff * fix mypy * remove toctrees * fix * one more
- Loading branch information
Showing
9 changed files
with
85 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,6 +70,7 @@ jobs: | |
- name: Run Tests | ||
id: status | ||
run: | | ||
python -c "import xarray; xarray.show_versions()" | ||
pytest --durations=20 --durations-min=0.5 -n auto --cov=./ --cov-report=xml --hypothesis-profile ci | ||
- name: Upload code coverage to Codecov | ||
uses: codecov/[email protected] | ||
|
@@ -98,7 +99,7 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: "pydata/xarray" | ||
repository: "dcherian/xarray" | ||
fetch-depth: 0 # Fetch all history for all branches and tags. | ||
- name: Set up conda environment | ||
uses: mamba-org/setup-micromamba@v1 | ||
|
@@ -112,6 +113,7 @@ jobs: | |
pint>=0.22 | ||
- name: Install xarray | ||
run: | | ||
git checkout flox-preserve-dtype | ||
python -m pip install --no-deps . | ||
- name: Install upstream flox | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters