ci: Run postgrest-test-doctests without nix-shell

Resolves #3183
This commit is contained in:
Wolfgang Walther
2024-02-27 10:02:42 +01:00
parent 2479e0d4a5
commit a1480c758e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
- name: Run doctests
if: always()
run: nix-shell --run postgrest-test-doctests
run: postgrest-test-doctests
- name: Check the spec tests for idempotence
if: always()
+2
View File
@@ -41,6 +41,8 @@ let
withEnv = postgrest.env;
}
''
# This makes nix-env -iA tests.doctests.bin work.
export NIX_GHC=${postgrest.env.NIX_GHC}
${cabal-install}/bin/cabal v2-run ${devCabalOptions} test:doctests
'';