switch to TOML config and export republisher feed manifests
This commit is contained in:
parent
98dcea4d7e
commit
897af2872c
17 changed files with 832 additions and 324 deletions
10
flake.nix
10
flake.nix
|
|
@ -76,6 +76,7 @@
|
|||
ps.beautifulsoup4
|
||||
ps.feedgen
|
||||
ps."python-dateutil"
|
||||
ps.pytest
|
||||
]);
|
||||
|
||||
smokeCheck = pkgs.runCommand "pygea-smoke" { nativeBuildInputs = [ smokePython ]; } ''
|
||||
|
|
@ -91,6 +92,14 @@
|
|||
touch "$out/passed"
|
||||
'';
|
||||
|
||||
pytestCheck = pkgs.runCommand "pygea-pytest" { nativeBuildInputs = [ smokePython ]; } ''
|
||||
export PYTHONPATH="${./.}:$PYTHONPATH"
|
||||
cd ${./.}
|
||||
pytest
|
||||
mkdir -p "$out"
|
||||
touch "$out/passed"
|
||||
'';
|
||||
|
||||
deadnixCheck = pkgs.runCommand "pygea-deadnix" { nativeBuildInputs = [ pkgs.deadnix ]; } ''
|
||||
cd ${./.}
|
||||
deadnix --fail .
|
||||
|
|
@ -111,6 +120,7 @@
|
|||
package-default = exportedPackage;
|
||||
treefmt = treefmtConfig.build.check ./.;
|
||||
smoke = smokeCheck;
|
||||
pytest = pytestCheck;
|
||||
deadnix = deadnixCheck;
|
||||
statix = statixCheck;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue