File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 8080 yq eval '.on = ["push"]' -i .github/workflows/build.yml
8181 git add .github/workflows/ci.yml .github/workflows/build.yml
8282 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"
8387 # Push the generated package's HEAD commit to a `ci/*` branch
8488 cid=$(git rev-parse HEAD)
8589 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 2020 environments : build
2121 - name : Build project
2222 run : pixi run -e build build-wheel
23+ - name : Check package
24+ run : pixi run -e build check-wheel
2325 - name : Upload package
2426 uses : actions/upload-artifact@v4
2527 with :
Original file line number Diff line number Diff line change @@ -23,9 +23,11 @@ test = "pytest"
2323test-coverage = "pytest --cov={{ project_slug_snake_case }} --cov-report=xml --cov-report=term-missing"
2424
2525[feature.build.dependencies]
26- build = "*"
26+ python-build = "*"
27+ twine = "*"
2728[feature.build.tasks]
2829build-wheel = "python -m build --no-isolation ."
30+ check-wheel = "twine check dist/*"
2931
3032[feature.lint.dependencies]
3133pre-commit = "*"
You can’t perform that action at this time.
0 commit comments