diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 2f9811f..433bfb2 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -57,6 +57,8 @@ jobs: uses: Swatinem/rust-cache@v2 - name: Install pgrx run: cargo install cargo-pgrx --locked --version "$(make pgrx-version)" + - name: Remove Data Diretory + run: rm -rf target/pgrx-test-data-${{ matrix.pg }} - name: Initialize pgrx run: cargo pgrx init --pg${{ matrix.pg }}="$(which pg_config)" - name: Run the tests diff --git a/Makefile b/Makefile index a82a5c7..9cdfac2 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ install: test: @cargo test --all --no-default-features --features "pg$(PGV) pg_test" -- --nocapture -.PHONY: install-check # An alias for the test target +.PHONY: install-check # An alias for the test target for PGXS compatability. install-check: test .PHONY: cover # Run cover tests and generate & open a report.