diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index e7ac89ed..b3f83a7f 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -69,6 +69,14 @@ jobs: echo Looking for "'$PATTERN'" in output of 'just' grep "$PATTERN" run-client-app-output + - name: Test run dev environment + run: | + cd ~/work/my-project + nix develop .# -c just run --beam-on 12 | tee build-and-run-in-devenv-output + PATTERN="end of event 12" + echo Looking for "'$PATTERN'" in output of 'just' + grep "$PATTERN" build-and-run-in-devenv-output + - name: Test nix build client package run: | nix build ~/work/my-project# diff --git a/templates/basic/.github/workflows/test.yml b/templates/basic/.github/workflows/test.yml index f3d9452f..fe56516b 100644 --- a/templates/basic/.github/workflows/test.yml +++ b/templates/basic/.github/workflows/test.yml @@ -62,6 +62,13 @@ jobs: - name: Run test suite run: nix develop .#${{ matrix.devshell }} -c just test + - name: Test run in dev environment + run: | + nix develop .# -c just run --beam-on 12 | tee build-and-run-in-devenv-output + PATTERN="end of event 12" + echo Looking for "'$PATTERN'" in output of 'just' + grep "$PATTERN" build-and-run-in-devenv-output + - name: Test nix build default package run: | nix build ./#