-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align CI workflow We want an improved aligned workflow setup for all our postgres extensions. This workflow will run tests after pushing commits into the main branch and into any open pull request's branch. It runs tests on PostgreSQL Versions 10 to 15. One important thing here is that the workflow uses pgxn/pgxn-tools Docker image. It installs specified version of PostgreSQL and run tests by pg-build-test, which runs make installcheck under the hood.
- Loading branch information
Showing
3 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
pg: [15, 14, 13, 12, 11, 10] | ||
name: 🐘 PostgreSQL ${{ matrix.pg }} | ||
runs-on: ubuntu-latest | ||
container: pgxn/pgxn-tools | ||
steps: | ||
- run: pg-start ${{ matrix.pg }} | ||
- uses: actions/checkout@v2 | ||
- run: pg-build-test | ||
|
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