From cc2d24daa969e0b8ea5785dd65f7496a3aa2714b Mon Sep 17 00:00:00 2001 From: Kai Wagner Date: Tue, 19 Nov 2024 11:13:00 +0100 Subject: [PATCH] Create main.yml Automated testing of the main branch --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..365363d --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Test script +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] +jobs: + install_ps_docker: + strategy: + matrix: + os: ["ubuntu:latest", "oraclelinux:9"] + runs-on: ubuntu-latest + container: + image: ${{ matrix.os }} + volumes: + - ${{ github.workspace }}:/tmp/install + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Run docker + run: bash /tmp/install/pg-easy-deploy.sh ${{ matrix.commands }}