Use xact callback to handle pre commit and commit events #59
Workflow file for this run
This file contains 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: Run Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
run_tests: | |
name: Run test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
PG_VERSION: [15, 16] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set environment variables | |
run: echo "PG_VERSION=${{ matrix.PG_VERSION }}" >> $GITHUB_ENV | |
- name: Build Docker Test Image | |
run: make build-test-image | |
- name: Run Test | |
timeout-minutes: 1 | |
run: make run-test |