@@ -56,7 +56,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run doctests
|
- name: Run doctests
|
||||||
if: always()
|
if: always()
|
||||||
run: nix-shell --run postgrest-test-doctests
|
run: postgrest-test-doctests
|
||||||
|
|
||||||
- name: Check the spec tests for idempotence
|
- name: Check the spec tests for idempotence
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ let
|
|||||||
withEnv = postgrest.env;
|
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
|
${cabal-install}/bin/cabal v2-run ${devCabalOptions} test:doctests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user