From 3ee9aeb03beb1bdd255f41f0356dcd101e7aaa3c Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Mon, 5 Feb 2024 13:49:22 +0100 Subject: [PATCH] Add CI workflow templates --- .github/workflows/ci-master.yml | 28 ++++++++++++++++++++++++++++ .github/workflows/ci-pr.yml | 24 ++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .github/workflows/ci-master.yml create mode 100644 .github/workflows/ci-pr.yml diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml new file mode 100644 index 0000000..b6fda6b --- /dev/null +++ b/.github/workflows/ci-master.yml @@ -0,0 +1,28 @@ +name: Continues Integration (Master) + +on: + wokflow_dispatch: + pull_request: + branches-ignore: + - master + - main + - gh-pages + schedule: + # “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru) + - cron: "0 0 1/7 * *"jobs: + + verify: + runs-on: ubuntu-latest + + steps: + + - name: SCM Checkout + uses: actions/checkout@v4 + + - name: Setup Python & Poetry Environment + uses: exasol/python-toolbox/.github/actions/python-environment@main + with: + python-version: "3.11" + + - name: Run all checks + run: echo "Stub: This needs to call the checks in the future" diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml new file mode 100644 index 0000000..97ddaca --- /dev/null +++ b/.github/workflows/ci-pr.yml @@ -0,0 +1,24 @@ +name: Continues Integration (PR) + +on: + pull_request: + branches-ignore: + - master + - main + - "Test-Automation" + + verify: + runs-on: ubuntu-latest + + steps: + + - name: SCM Checkout + uses: actions/checkout@v4 + + - name: Setup Python & Poetry Environment + uses: exasol/python-toolbox/.github/actions/python-environment@0.7.0 + with: + python-version: "3.11" + + - name: Run all checks + run: echo "Stub: This needs to call the checks in the future"