ci: nix flake check on every push
Every check in flake.nix, starting with ir-pico's doctests, in the nixos/nix image, pinned by digest. The checkout is plain git, since actions/checkout needs node and the image has none. Generated-by: Claude Opus 5.5
This commit is contained in:
1 parent
147bfdc55e
commit
4a42c896db
2 files changed
+52
-2
No files matched your search
+17
-2
@@ -2,6 +2,21 @@
|
||||
|
||||
The [README](README.md) says what pdtv26 does and why; this is how to work on it.
|
||||
|
||||
## Working on it
|
||||
## Development
|
||||
|
||||
The tools come from the flake: `nix develop --command make test` in any folder, or `nix develop` once and then `make`. `nix flake check` runs every folder's tests. `make help` in each folder lists what it does, and each module's docstring says what it is. Docs are only for what isn't code, such as [wiring](ir-pico/wiring.md).
|
||||
The tools come from the flake. To run every folder's tests, as [CI](.gitea/workflows/check.yaml) should on each push:
|
||||
|
||||
```
|
||||
nix flake check
|
||||
```
|
||||
|
||||
To work in one folder:
|
||||
|
||||
```
|
||||
cd ir-pico
|
||||
nix develop
|
||||
make help
|
||||
make test
|
||||
```
|
||||
|
||||
Each module's docstring says what it is. Docs are only for what isn't code, such as [wiring](ir-pico/wiring.md).
|
||||
Reference in new issue
Block a user