Skip to content

Commit

Permalink
Add CI workflow
Browse files Browse the repository at this point in the history
Builds and runs tests on Postgres 14 - 16. Couldn't get it to
automatically init the submodule, so doing it manually. One test fails
on my system; let's see if it works on GitHub.
  • Loading branch information
theory committed Jan 25, 2024
1 parent 21f2297 commit 400795c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI
on:
push:
branches: ["*"]
pull_request:
schedule:
- cron: '0 12 15 * *' # Monthly at noon on the 15th
jobs:
build:
strategy:
matrix:
pg: [16, 15, 14]
name: 🐘 PostgreSQL ${{ matrix.pg }}
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
steps:
- run: pg-start ${{ matrix.pg }}
- uses: actions/checkout@v4
- run: git submodule update --init --recursive
- run: pg-build-test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.o
*.so
*.dylib
results
regression.diffs
regression.out
Expand Down

0 comments on commit 400795c

Please sign in to comment.