File tree Expand file tree Collapse file tree 6 files changed +78
-83
lines changed Expand file tree Collapse file tree 6 files changed +78
-83
lines changed Original file line number Diff line number Diff line change
1
+ name : Docs
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - created
7
+
8
+ jobs :
9
+ job :
10
+ name : Docs
11
+ runs-on : ubuntu-latest
12
+ container : ghcr.io/astral-sh/uv:python3.12-bookworm
13
+ env :
14
+ UV_PROJECT_ENVIRONMENT : /usr/local
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - run : echo "::set-output name=tag::${GITHUB_REF##*/}"
18
+ id : tag
19
+ - run : uv sync --frozen
20
+ - run : docs/build
21
+ - uses : peaceiris/actions-gh-pages@v4
22
+ with :
23
+ destination_dir : ${{ steps.tag.outputs.tag }}
24
+ force_orphan : true
25
+ github_token : ${{ secrets.GITHUB_TOKEN }}
26
+ publish_dir : ./docs/_build
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : PyPI
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - created
7
+
8
+ jobs :
9
+ job :
10
+ name : PyPI
11
+ runs-on : ubuntu-latest
12
+ container : ghcr.io/astral-sh/uv:python3.12-bookworm
13
+ env :
14
+ UV_PROJECT_ENVIRONMENT : /usr/local
15
+ UV_PUBLISH_TOKEN : ${{ secrets.PYPI_TOKEN }}
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ - run : uv build && uv publish
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - main
10
+
11
+ jobs :
12
+ job :
13
+ name : Test (${{ matrix.env }})
14
+ runs-on : ubuntu-latest
15
+ container : ghcr.io/astral-sh/uv:${{ matrix.env }}
16
+ env :
17
+ PYTHON_DIRS : docs tests xarray-dataclasses
18
+ UV_PROJECT_ENVIRONMENT : /usr/local
19
+ strategy :
20
+ fail-fast : false
21
+ matrix :
22
+ env :
23
+ - python3.9-bookworm
24
+ - python3.10-bookworm
25
+ - python3.11-bookworm
26
+ - python3.12-bookworm
27
+ - python3.13-bookworm
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+ - run : uv sync --frozen
31
+ - run : black --check ${PYTHON_DIRS}
32
+ - run : pyright ${PYTHON_DIRS}
33
+ - run : pytest -v
34
+ - run : docs/build
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments