mirror of
https://github.com/Azure/setup-helm.git
synced 2025-11-07 21:16:57 +00:00
Integration testing
This commit is contained in:
parent
03759bdbd2
commit
49a9aaddef
1 changed files with 17 additions and 3 deletions
20
.github/workflows/integration-tests.yml
vendored
20
.github/workflows/integration-tests.yml
vendored
|
|
@ -8,13 +8,27 @@ jobs:
|
|||
trigger-integration-tests:
|
||||
name: Trigger Integration tests
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
HELM_3_8_0: 'v3.8.0'
|
||||
HELM_3_7_2: 'v3.7.2'
|
||||
HELM_3_5_0: 'v3.5.0'
|
||||
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v2
|
||||
- name: npm install and build
|
||||
id: action-npm-build
|
||||
run: |
|
||||
echo $PR_BASE_REF
|
||||
if [[ $PR_BASE_REF != releases/* ]]; then
|
||||
npm install
|
||||
npm run build
|
||||
fi
|
||||
- name: Setup kubectl
|
||||
uses: ./
|
||||
with:
|
||||
version: 'v3.8.0'
|
||||
- name: Trigger Test run
|
||||
run:
|
||||
helm version
|
||||
- name: Validate 3.8.0
|
||||
run: |
|
||||
if [ $(helm version) != 'v3.8.0' ]; then
|
||||
echo "HELM VERSION INCORRECT: LOOKING FOR $(HELM_3_8_0) GOT $(helm version)"
|
||||
Loading…
Reference in a new issue