-
Notifications
You must be signed in to change notification settings - Fork 8
41 lines (39 loc) · 1.11 KB
/
e2e-feature-gated.yaml
File metadata and controls
41 lines (39 loc) · 1.11 KB
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
37
38
39
40
41
name: e2e-feature-gated
on:
workflow_dispatch:
pull_request:
push:
branches:
- 'release-*'
- 'master'
- 'main'
tags:
- 'v*'
# To cancel running workflow when new commits pushed in a pull request
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
changed-files:
uses: ./.github/workflows/changed-files.yaml
e2e-tests:
name: E2E tests for feature gates
needs: changed-files
if: ${{ needs.changed-files.outputs.non-markdown-files }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Setup E2E environment
uses: ./.github/actions/setup-e2e # composite action with your setup steps
- name: Run tests
env:
E2E_DIAGNOSTIC_DIRECTORY: ${{ env.E2E_DIAGNOSTIC_DIRECTORY }}
run: |
make test-e2e-feature-gates
- name: Upload diagnostics artifact
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: cluster-state
path: ${{ env.E2E_DIAGNOSTIC_DIRECTORY }}
retention-days: 15