File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ issue_comment :
3
+ types :
4
+ - created
5
+ jobs :
6
+ check-imagestreams :
7
+ runs-on : ubuntu-latest
8
+ permissions :
9
+ contents : read
10
+ statuses : write
11
+ if : |
12
+ github.event.issue.pull_request
13
+ && (contains(github.event.comment.body, '[test-openshift-pytest]') || contains(github.event.comment.body, '[test-all]'))
14
+ && contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
15
+ steps :
16
+ - uses : sclorg/ci-scripts/ocp-stream-generator@master
17
+ with :
18
+ ref : " refs/pull/${{ github.event.issue.number }}/head"
19
+
20
+ openshift-pytests :
21
+ name : " ${{ matrix.test_case }} PyTests: ${{ matrix.version }} - ${{ matrix.os_test }}"
22
+ runs-on : ubuntu-latest
23
+ needs : check-imagestreams
24
+ concurrency :
25
+ group : ocp-pytest-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
26
+ cancel-in-progress : true
27
+ strategy :
28
+ fail-fast : false
29
+ matrix :
30
+ version : [ "5.26", "5.26-mod_fcgid", "5.30-mod_fcgid", "5.32" ]
31
+ os_test : [ "rhel8", "rhel9"]
32
+ test_case : [ "openshift-pytest" ]
33
+
34
+ steps :
35
+ - uses : sclorg/tfaga-wrapper@main
36
+ with :
37
+ os_test : ${{ matrix.os_test }}
38
+ version : ${{ matrix.version }}
39
+ test_case : ${{ matrix.test_case }}
40
+ public_api_key : ${{ secrets.TF_PUBLIC_API_KEY }}
41
+ private_api_key : ${{ secrets.TF_INTERNAL_API_KEY }}
You can’t perform that action at this time.
0 commit comments