File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,16 +21,14 @@ jobs:
2121 extraPullNames : nix-community
2222 - name : Build and test
2323 run : |
24- # echo cachix use
25- # cachix use iohk
2624 echo nix build and tests:
2725 nix -Lv flake check
2826 echo "Setting up cabal..."
2927
3028 nix -Lv develop -c cabal update
3129
3230 echo "Testing telomare-repl..."
33- REPL_OUTPUT=$(nix -Lv develop -c cabal run telomare-repl -- --expr 'succ 7' 2>/dev/null | tail -n 1)
31+ REPL_OUTPUT=$(nix -Lv run .# telomare-repl -- --expr 'succ 7' 2>/dev/null | tail -n 1)
3432 echo "REPL output: $REPL_OUTPUT"
3533 if [[ "$REPL_OUTPUT" == "8" ]]; then
3634 echo "REPL test passed"
Original file line number Diff line number Diff line change 5151 } ;
5252 } ;
5353 } ;
54+
5455 packages . default = self' . packages . telomare ;
56+
5557 apps . default = {
5658 type = "app" ;
5759 program = self . packages . ${ system } . telomare + "/bin/telomare" ;
5860 } ;
59-
6061 apps . repl = {
6162 type = "app" ;
6263 program = self . packages . ${ system } . telomare + "/bin/telomare-repl" ;
6364 } ;
64-
6565 apps . evaluare = {
6666 type = "app" ;
6767 program = self . packages . ${ system } . telomare + "/bin/telomare-evaluare" ;
6868 } ;
69+
70+ checks = self' . packages ;
6971 } ;
7072 } ;
7173}
You can’t perform that action at this time.
0 commit comments