File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 80
80
yq eval '.on = ["push"]' -i .github/workflows/build.yml
81
81
git add .github/workflows/ci.yml .github/workflows/build.yml
82
82
git commit -m "Replace actions trigger with on: [push]"
83
+ # create pixi.lock
84
+ pixi list --manifest-path pixi.toml --color=always
85
+ git add pixi.lock
86
+ git commit -m "Create pixi.lock"
83
87
# Push the generated package's HEAD commit to a `ci/*` branch
84
88
cid=$(git rev-parse HEAD)
85
89
git push -f "${GITHUB_SERVER_URL/https:\/\//git@}:$GITHUB_REPOSITORY" $cid:refs/heads/ci/${GITHUB_SHA}-${{ matrix.minimal-python-version }}
Original file line number Diff line number Diff line change 20
20
environments : build
21
21
- name : Build project
22
22
run : pixi run -e build build-wheel
23
+ - name : Check package
24
+ run : pixi run -e build check-wheel
23
25
- name : Upload package
24
26
uses : actions/upload-artifact@v4
25
27
with :
Original file line number Diff line number Diff line change @@ -23,9 +23,11 @@ test = "pytest"
23
23
test-coverage = "pytest --cov={{ project_slug_snake_case }} --cov-report=xml --cov-report=term-missing"
24
24
25
25
[feature.build.dependencies]
26
- build = "*"
26
+ python-build = "*"
27
+ twine = "*"
27
28
[feature.build.tasks]
28
29
build-wheel = "python -m build --no-isolation ."
30
+ check-wheel = "twine check dist/*"
29
31
30
32
[feature.lint.dependencies]
31
33
pre-commit = "*"
You can’t perform that action at this time.
0 commit comments