✨ add testing workflow #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Demo Testing | |
on: ["push", "pull_request"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build image and binary | |
run: | | |
podman build -t quay.io/konveyor/kantra:latest -f Dockerfile . | |
go build -o kantra main.go | |
- name: fetch sample applications | |
run: | | |
git clone https://github.com/konveyor/example-applications | |
git clone https://github.com/ivargrimstad/jakartaee-duke | |
- name: run analysis test and compare output | |
run: | | |
./kantra --input $(pwd)/example-applications/example-1/ --output ./output/ --target cloud-readiness |