-
Notifications
You must be signed in to change notification settings - Fork 7
36 lines (36 loc) · 982 Bytes
/
tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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