update integration test
This commit is contained in:
parent
092858c205
commit
65ae4b87de
1 changed files with 11 additions and 11 deletions
22
.github/workflows/integration-tests.yml
vendored
22
.github/workflows/integration-tests.yml
vendored
|
@ -3,13 +3,13 @@ on: # rebuild any PRs and main branch changes
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- 'releases/*'
|
- "releases/*"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- 'releases/*'
|
- "releases/*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-integration-test:
|
run-integration-test:
|
||||||
name: Validate release and master branch
|
name: Validate release and master branch
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -19,7 +19,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
name: Checkout from PR branch
|
name: Checkout from PR branch
|
||||||
|
|
||||||
- id: action-npm-build
|
- id: action-npm-build
|
||||||
name: npm install and build
|
name: npm install and build
|
||||||
run: |
|
run: |
|
||||||
|
@ -28,22 +28,22 @@ jobs:
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
name: Install Python
|
name: Install Python
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: "3.x"
|
||||||
|
|
||||||
- name: Install requests library
|
- name: Install requests library
|
||||||
run: pip install requests
|
run: pip install requests
|
||||||
|
|
||||||
- name: Validate kubectl setup
|
- name: Validate kubectl setup
|
||||||
run: python test/validate-kubectl.py latest
|
run: python test/validate-kubectl.py !v1.15.1
|
||||||
|
|
||||||
- name: Setup kubectl
|
- name: Setup kubectl
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
version: 'v1.15.1'
|
version: "v1.15.1"
|
||||||
|
|
||||||
- name: Validate kubectl setup
|
- name: Validate kubectl setup
|
||||||
run: python test/validate-kubectl.py 'v1.15.1'
|
run: python test/validate-kubectl.py 'v1.15.1'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue