diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 517ca8b..1cd2582 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,6 +3,7 @@ on: [push, pull_request] jobs: ubuntu: runs-on: ubuntu-latest + if: ${{ !startsWith(github.ref_name, 'windows') }} strategy: fail-fast: false matrix: @@ -26,6 +27,7 @@ jobs: make prove_installcheck mac: runs-on: macos-latest + if: ${{ !startsWith(github.ref_name, 'windows') }} steps: - uses: actions/checkout@v3 - uses: ankane/setup-postgres@v1 @@ -54,4 +56,5 @@ jobs: nmake /NOLOGO /F Makefile.win nmake /NOLOGO /F Makefile.win install nmake /NOLOGO /F Makefile.win installcheck + nmake /NOLOGO /F Makefile.win prove_installcheck PROVE=prove shell: cmd diff --git a/Makefile.win b/Makefile.win index 107f6c9..b473714 100644 --- a/Makefile.win +++ b/Makefile.win @@ -54,3 +54,7 @@ install: installcheck: "$(BINDIR)\pg_regress" --bindir="$(BINDIR)" $(REGRESS_OPTS) $(REGRESS) + +prove_installcheck: + rm -rf tmp_check + PGPORT=65432 PG_REGRESS="$(BINDIR)\pg_regress" $(PROVE) $(PG_PROVE_FLAGS) $(PROVE_FLAGS) test/t/*.pl