Skip to content

Commit 89d2199

Browse files
committed
Move kernels package to kernels directory
1 parent 13d73ef commit 89d2199

35 files changed

Lines changed: 11 additions & 13 deletions

β€Ž.github/workflows/lint.ymlβ€Ž

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ jobs:
99
- name: Run ruff
1010
uses: astral-sh/ruff-action@v3
1111
src: >-
12-
src
13-
tests
12+
kernels
1413
1514
black:
1615
name: Run black check
@@ -30,8 +29,7 @@ jobs:
3029

3130
- name: Check formatting
3231
run: |
33-
uv run black --check src
34-
uv run black --check tests
32+
uv run black --check kernels
3533
3634
validate-dependencies:
3735
name: Validate python_depends.json
@@ -46,7 +44,7 @@ jobs:
4644

4745
- name: Validate python_depends.json is up-to-date
4846
run: |
49-
python update_python_depends.py --validate || {
47+
python ( cd kernels && update_python_depends.py --validate ) || {
5048
echo "Error: python_depends.json is out of date."
5149
echo "Please run: python update_python_depends.py"
5250
exit 1
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
build
2323
--user
2424
- name: Build a binary wheel and a source tarball
25-
run: python3 -m build
25+
run: ( cd kernels && python3 -m build )
2626
- name: Store the distribution packages
2727
uses: actions/upload-artifact@v6
2828
with:
2929
name: python-package-distributions
30-
path: dist/
30+
path: kernels/dist/
3131

3232
publish-to-pypi:
3333
name: >-
@@ -47,7 +47,7 @@ jobs:
4747
uses: actions/download-artifact@v7
4848
with:
4949
name: python-package-distributions
50-
path: dist/
50+
path: kernels/dist/
5151
- name: Publish distribution πŸ“¦ to PyPI
5252
uses: pypa/gh-action-pypi-publish@release/v1
5353

@@ -68,13 +68,13 @@ jobs:
6868
uses: actions/download-artifact@v7
6969
with:
7070
name: python-package-distributions
71-
path: dist/
71+
path: kernels/dist/
7272
- name: Sign the dists with Sigstore
7373
uses: sigstore/gh-action-sigstore-python@v3.0.0
7474
with:
7575
inputs: >-
76-
./dist/*.tar.gz
77-
./dist/*.whl
76+
./kernels/dist/*.tar.gz
77+
./kernels/dist/*.whl
7878
- name: Create GitHub Release
7979
env:
8080
GITHUB_TOKEN: ${{ github.token }}
@@ -91,7 +91,7 @@ jobs:
9191
# sigstore-produced signatures and certificates.
9292
run: >-
9393
gh release upload
94-
"$GITHUB_REF_NAME" dist/**
94+
"$GITHUB_REF_NAME" kernels/dist/**
9595
--repo "$GITHUB_REPOSITORY"
9696
9797
publish-to-testpypi:
@@ -112,7 +112,7 @@ jobs:
112112
uses: actions/download-artifact@v7
113113
with:
114114
name: python-package-distributions
115-
path: dist/
115+
path: kernels/dist/
116116
- name: Publish distribution πŸ“¦ to TestPyPI
117117
uses: pypa/gh-action-pypi-publish@release/v1
118118
with:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)