Skip to content

Commit

Permalink
Add CI workflow templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoretti committed Feb 5, 2024
1 parent 7e01beb commit 1009c96
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
@@ -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"
24 changes: 24 additions & 0 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
python-version: "3.11"

- name: Run all checks
run: echo "Stub: This needs to call the checks in the future"

0 comments on commit 1009c96

Please sign in to comment.