Skip to content

Commit

Permalink
demo on PR how it would look on main merges
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Mortari <[email protected]>
  • Loading branch information
tarilabs committed Dec 16, 2024
1 parent 7bf5582 commit ecd8778
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@ jobs:
matrix:
python: ["3.12"] # see below for versions 3.9-3.11
kubernetes-version: ["v1.27.11", "v1.28.7", "v1.29.2", "v1.30.6"]
exclude: # on main merges (not PRs), use also different K8s versions for E2E testing
- kubernetes-version: ${{ github.event_name != 'push' && 'v1.28.7' }}
- kubernetes-version: ${{ github.event_name != 'push' && 'v1.29.2' }}
- kubernetes-version: ${{ github.event_name != 'push' && 'v1.30.6' }}
# DEMO on PR how it would look on main-merges
# exclude: # on main merges (not PRs), use also different K8s versions for E2E testing
# - kubernetes-version: ${{ github.event_name != 'push' && 'v1.28.7' }}
# - kubernetes-version: ${{ github.event_name != 'push' && 'v1.29.2' }}
# - kubernetes-version: ${{ github.event_name != 'push' && 'v1.30.6' }}
include: # test Py versions only with a reference K8s version, designated currently to kubernetes-version: v1.27.11
- python: "3.11"
kubernetes-version: "v1.27.11"
Expand Down

0 comments on commit ecd8778

Please sign in to comment.