diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..ddf0492 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: CI (repo level) + +on: + push: + branches: + - main + - "release-*" + pull_request: + branches: + - main + - "release-*" + workflow_dispatch: + workflow_call: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + ## TODO add any checks this repo might need like formating for instance diff --git a/.github/workflows/global-ci.yaml b/.github/workflows/global-ci.yaml new file mode 100644 index 0000000..69bdb51 --- /dev/null +++ b/.github/workflows/global-ci.yaml @@ -0,0 +1,12 @@ +name: Global CI + +on: ["push", "pull_request"] + +jobs: + e2e: + uses: trustification/trustify-ci/.github/workflows/global-ci.yml@main + with: + operator_bundle: "ghcr.io/trustification/trustify-operator-bundle:latest" + run_api_tests: true + run_ui_tests: false + api_tests_ref: ${{ github.event.number && format('refs/pull/{0}/merge', github.event.number) || '' }}