diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml new file mode 100644 index 0000000..be92219 --- /dev/null +++ b/.github/workflows/nightly.yaml @@ -0,0 +1,21 @@ +name: Nightly tests + +on: + schedule: + - cron: '0 0 * * *' + workflow_dispatch: + inputs: + tag: + type: string + default: latest + description: Container image tag to use for testing + +jobs: + run_test: + name: Run e2e test + uses: konveyor/kantra/.github/workflows/testing.yaml@main + with: + tag: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }} + + + diff --git a/README.md b/README.md index f0be1c4..1bbf8de 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +![Test (latest)](https://github.com/konveyor/kantra/actions/workflows/nightly.yml/badge.svg?branch=main) + # Kantra Kantra is a CLI that unifies analysis and transformation capabilities of Konveyor. It is available for Linux, Mac and Windows.