WIP: Run standalone demos as part of Cargo Test #356

Draft
derppening wants to merge 2 commits from enhance/cargo-test-standalone-demos into master
1 changed files with 1 additions and 3 deletions
Showing only changes of commit affa19e88d - Show all commits

View File

@ -29,12 +29,10 @@
checkInputs = [ (pkgs.python3.withPackages(ps: [ ps.numpy ps.scipy ])) ]; checkInputs = [ (pkgs.python3.withPackages(ps: [ ps.numpy ps.scipy ])) ];
checkPhase = checkPhase =
'' ''
echo "Checking nac3standalone demos..." echo "Running Cargo tests..."
pushd nac3standalone/demo pushd nac3standalone/demo
patchShebangs . patchShebangs .
Review

Just remove pushd/popd and do patchShebangs nac3standalone/demo?

But I thought the plan was to remove shell scripts anyway. Then there are no shebangs to patch?

Just remove pushd/popd and do ``patchShebangs nac3standalone/demo``? But I thought the plan was to remove shell scripts anyway. Then there are no shebangs to patch?
Review

Yeah it's not ready yet, that push was just a rebase.

Marked WIP now for clarity.

Yeah it's not ready yet, that push was just a rebase. Marked WIP now for clarity.
./check_demos.sh
popd popd
echo "Running Cargo tests..."
cargoCheckHook cargoCheckHook
''; '';
installPhase = installPhase =