This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
Update README.md #223
Workflow file for this run
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: Tests | |
on: | |
# always execute docker build when something is pushed to master or release-* branches | |
push: | |
branches: | |
- 'master' | |
- 'release-*' | |
# in addition, execute for pull requests to those branches | |
pull_request: | |
branches: | |
- 'master' | |
- 'release-*' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
name: Test local get.sh | |
strategy: | |
matrix: | |
platform: [ ubuntu-20.04, macOS-11.0, windows-2019 ] | |
fail-fast: false | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v2 | |
- name: Try installing Keptn using local get.sh (quickstart) | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: cat src/get.sh | bash | |
- name: Verify Keptn CLI works (Windows) | |
if: runner.os == 'Windows' | |
run: ./keptn version | |
- name: Verify Keptn CLI works (Linux, MacOS) | |
if: runner.os != 'Windows' | |
run: keptn version |