Skip to content

Commit 8f7fdca

Browse files
committed
Add GitHub Actions workflow for running End to End tests
Signed-off-by: Nabarun Pal <[email protected]>
1 parent 44b2325 commit 8f7fdca

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/e2e.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Kubernetes Python Client - End to End Tests
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
submodules: true
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/[email protected]
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -r requirements.txt
23+
- name: Run End to End tests
24+
run: ./scripts/kube-init.sh pytest -vvv -s []

0 commit comments

Comments
 (0)