Skip to content

Commit 296032f

Browse files
committed
Add support testing Ruby container by PyTest suite
that is available here: https://github.com/sclorg/container-ci-suite Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 0a6b4f3 commit 296032f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
issue_comment:
3+
types:
4+
- created
5+
jobs:
6+
container-tests:
7+
runs-on: ubuntu-latest
8+
name: "Container PyTests: ${{ matrix.version }} - ${{ matrix.os_test }}"
9+
concurrency:
10+
group: container-pytest-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
11+
cancel-in-progress: true
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
version: [ "2.5", "3.0", "3.3" ]
16+
os_test: [ "fedora", "rhel8", "rhel9", "rhel10", "c10s" ]
17+
test_case: [ "container-pytest" ]
18+
19+
if: |
20+
github.event.issue.pull_request
21+
&& (contains(github.event.comment.body, '[test-pytest]') || contains(github.event.comment.body, '[test-all]'))
22+
&& contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
23+
steps:
24+
- uses: sclorg/tfaga-wrapper@main
25+
with:
26+
os_test: ${{ matrix.os_test }}
27+
version: ${{ matrix.version }}
28+
test_case: ${{ matrix.test_case }}
29+
public_api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
30+
private_api_key: ${{ secrets.TF_INTERNAL_API_KEY }}

0 commit comments

Comments
 (0)