diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 67ef288..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: CI - -on: - push: - branches: ['*'] - pull_request: - branches: ['*'] - -jobs: - test: - strategy: - fail-fast: false - matrix: - pg: [13, 12] - name: PostgreSQL ${{ matrix.pg }} - runs-on: ubuntu-latest - container: zilder/pg-ext-check - - steps: - - run: pg-setup ${{ matrix.pg }} - - run: apt-get install liblz4-dev libzstd-dev - - uses: actions/checkout@v2 - - run: build-check diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..aca8b0d --- /dev/null +++ b/.github/workflows/main.yml @@ -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 + diff --git a/README.md b/README.md index 7c86980..a977a3f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![CI](https://github.com/adjust/pg_cryogen/actions/workflows/main.yml/badge.svg)](https://github.com/adjust/pg_cryogen/actions/workflows/main.yml) + [![Build Status](https://travis-ci.org/adjust/pg_cryogen.svg?branch=master)](https://travis-ci.org/adjust/pg_cryogen) ![experimental](https://img.shields.io/badge/status-experimental-orange) # pg_cryogen