up ver, CI Improve #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pg-extension-tests | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| pg-extension-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| strategy: | |
| matrix: | |
| pg: [pg15, pg17] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Login to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build docker image | |
| env: | |
| BASE_IMAGE: ghcr.io/${{ github.repository_owner }}/pg-debyte-ci-base:latest | |
| run: ./scripts/docker-ci-build-image.sh | |
| - name: PGRX tests (pg_debyte_ext) | |
| run: bash -lc "source scripts/dev.sh; docker_tests_pg_extensions ${{ matrix.pg }}" | |
| pgrx-workspace-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| strategy: | |
| matrix: | |
| pg: [pg15, pg17] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Login to GHCR | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build docker image | |
| env: | |
| BASE_IMAGE: ghcr.io/${{ github.repository_owner }}/pg-debyte-ci-base:latest | |
| run: ./scripts/docker-ci-build-image.sh | |
| - name: Workspace tests (include pg_debyte_pgrx) | |
| run: bash -lc "source scripts/dev.sh; docker_tests_workspace ${{ matrix.pg }}" |