diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6c6558..679a997 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: cpanm --notest IPC::Run wget -q https://github.com/postgres/postgres/archive/refs/tags/REL_14_5.tar.gz tar xf REL_14_5.tar.gz - - run: make prove_installcheck PROVE=prove PROVE_FLAGS="-I ./postgres-REL_14_5/src/test/perl" PERL5LIB="/Users/runner/perl5/lib/perl5" + - run: make prove_installcheck PROVE_FLAGS="-I ./postgres-REL_14_5/src/test/perl" PERL5LIB="/Users/runner/perl5/lib/perl5" windows: runs-on: windows-latest if: ${{ !startsWith(github.ref_name, 'mac') }} diff --git a/Makefile b/Makefile index b6a4f91..64d08cc 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,11 @@ PG_CONFIG ?= pg_config PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) +# for Mac +ifeq ($(PROVE),) + PROVE = prove +endif + # for Postgres 15 PROVE_FLAGS += -I ./test/perl