···14141515steps:
1616 - name: "Test"
1717- command: "go test ./..."
1717+ # This runs "pixi run test" under the hood
1818+ command: "test"
1819 - name: "Build"
1919- command: "go build"
2020+ # This runs "pixi run build" under the hood
2121+ command: "build"
+37-2
README.md
···11# pixi-spindle [WIP]
2233-The purpose of this repo is to explore using [`pixi`](https://pixi.prefix.dev/latest/) as an alternative to Nixery for a Tangled Spindle.
33+The purpose of this repo is to explore using [`pixi`](https://pixi.prefix.dev/latest/) as an
44+alternative to Nixery for a Tangled Spindle.
45This reuses most of the harness from the default spindle.
5677+## Goal
88+Use pixi environments as the source of truth CI environments
99+and lean on `pixi run` (which uses [`deno_task_shell`](https://github.com/denoland/deno_task_shell) under the hood).
1010+This approach makes it so that you can actually run your tests locally because the pipeline can be completely encoded
1111+into your `pixi.toml` or `pyproject.toml` file.
1212+1313+## Example
1414+The following example is for the current repo:
1515+```yaml
1616+when:
1717+ - event: ["push", "manual"]
1818+ branch: ["main"]
1919+2020+engine: "pixi"
2121+2222+pixi:
2323+ # This install from the default pixi environment
2424+ environment: "default"
2525+2626+clone:
2727+ skip: false
2828+ depth: 1
2929+ submodules: false
3030+3131+steps:
3232+ - name: "Test"
3333+ # This runs "pixi run test" under the hood
3434+ command: "test"
3535+ - name: "Build"
3636+ # This runs "pixi run build" under the hood
3737+ command: "build"
3838+```
3939+640## Development Setup
741842### Requirements
···13472. Run `pixi run go build` to build
14481549## TODOs
1616-- [ ] Add setup instructions
5050+- [x] Add setup instructions
1751- [ ] Add systemd unit
1852- [ ] Add configurable memory limit
1953- [ ] Test manual, global dependencies
···23572458### Optional
2559- [ ] Consider building a minimal custom Pixi image with Git installed
6060+- [ ] Add a script to easily add support to a repo
2661