From 3aedb5c96a41bacb816643e2c97db35fbf4b09b6 Mon Sep 17 00:00:00 2001 From: Adrian Date: Thu, 11 Apr 2024 10:43:34 +0200 Subject: [PATCH] meta: added CI pipeline --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..faec91b --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +# SPDX-FileCopyrightText: © 2024 Adrian C. Prelipcean +# +# SPDX-License-Identifier: CC0-1.0 + +name: CI +on: [push, pull_request] + +jobs: + test: + strategy: + matrix: + pg: + - 16 + - 15 + - 14 + - 13 + - 12 + - 11 + - 10 + + name: PostgreSQL ${{ matrix.pg }} + runs-on: ubuntu-latest + container: pgxn/pgxn-tools + steps: + - name: Start PostgreSQL ${{ matrix.pg }} + run: pg-start ${{ matrix.pg }} + - name: Check out the repo + uses: actions/checkout@v4 + - name: Test on PostgreSQL ${{ matrix.pg }} + run: pg-build-test \ No newline at end of file