diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 05d9222..355b6f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,13 +14,26 @@ jobs: Test: runs-on: ubuntu-latest container: - image: alpine + image: ghcr.io/postgres-dev/ubuntu-22.04:1.0 env: - PG_BRANCH: REL_15 -# volumes: -# - ${{ github.workspace }}:/work + PG_BRANCH: REL_14_STABLE + steps: - - uses: actions/checkout@v2 - - name: Build the Docker image + - name: Get Postgres sources + uses: actions/checkout@v3 + with: + repository: postgres/postgres +# ref: ${{ env.PG_BRANCH }} + ref: REL_14_STABLE + path: postgres + + - name: Get Ptrack sources + uses: actions/checkout@v3 + with: + path: ptrack + + - name: Apply ptrack patch run: | - ls -l + echo var=${PG_BRANCH} + git apply --verbose --3way ../ptrack/patches/${PG_BRANCH}-ptrack-core.diff + working-directory: postgres