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
10 changes: 8 additions & 2 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ codecov:
ci:
# by default, codecov doesn't recognize azure as a CI provider
- dev.azure.com
require_ci_to_pass: yes
require_ci_to_pass: true

coverage:
status:
Expand All @@ -13,4 +13,10 @@ coverage:
patch: false
changes: false

comment: off
comment:
layout: " diff, flags, files"
behavior: default
require_changes: false
require_base: false
require_head: true
hide_project_coverage: false
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ jobs:
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v5.4.3
with:
file: ./coverage.xml
files: ./coverage.xml
flags: unittests
env_vars: RUNNER_OS,PYTHON_VERSION
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ jobs:
failure()
&& steps.tests.outcome == 'failure'
&& github.event_name == 'schedule'
uses: calgray/issue-from-pytest-log@v1
uses: xarray-contrib/issue-from-pytest-log@v1
with:
log-path: pytest-log.jsonl
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![CI](https://github.com/xarray-contrib/astropy-xarray/workflows/CI/badge.svg?branch=main)](https://github.com/xarray-contrib/astropy-xarray/actions?query=branch%3Amain)
[![code coverage](https://codecov.io/gh/xarray-contrib/astropy-xarray/branch/main/graph/badge.svg)](https://codecov.io/gh/xarray-contrib/astropy-xarray)
[![CI](https://github.com/calgray/astropy-xarray/workflows/CI/badge.svg?branch=main)](https://github.com/calgray/astropy-xarray/actions?query=branch%3Amain)
[![code coverage](https://codecov.io/gh/calgray/astropy-xarray/branch/main/graph/badge.svg)](https://codecov.io/gh/calgray/astropy-xarray)
[![docs](https://readthedocs.org/projects/astropy-xarray/badge/?version=latest)](https://astropy-xarray.readthedocs.io)
[![PyPI version](https://img.shields.io/pypi/v/astropy-xarray.svg)](https://pypi.org/project/astropy-xarray)
[![codestyle](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/python/black)
Expand Down
2 changes: 0 additions & 2 deletions docs/examples/plotting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@
"import astropy_xarray # noqa: F401\n",
"\n",
"# to be able to read unit attributes following the CF conventions\n",
"# import cf_xarray.units # must be imported before pint_xarray\n",
"u.set_enabled_aliases(\n",
" {\n",
" \"degK\": u.Kelvin,\n",
" \"K\": u.Kelvin,\n",
" \"degrees_north\": u.deg,\n",
" \"degrees_east\": u.deg,\n",
" },\n",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ build-backend = "setuptools.build_meta"
[project]
name = "astropy-xarray"
authors = [
{ name = "Tom Nicholas", email = "tomnicholas1@googlemail.com" },
{ name = "Callan Gray", email = "calj.gray@gmail.com" },
{ name = "Tom Nicholas", email = "tomnicholas1@googlemail.com" },
]
description = "Physical units interface to xarray using astropy"
license = { text = "Apache-2" }
Expand Down
Loading