Skip to content

Commit

Permalink
Add support for testing httpd-container by Container PyTest
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
  • Loading branch information
phracek committed Dec 3, 2024
1 parent 014adb5 commit 109d1ac
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/container-pytests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
issue_comment:
types:
- created
jobs:
container-tests:
name: "Container PyTest: ${{ matrix.version }} - ${{ matrix.os_test }}"
runs-on: ubuntu-20.04
concurrency:
group: container-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
version: [ "2.4", "2.4-micro" ]
os_test: [ "fedora", "rhel8", "rhel9", "c9s", "c10s" ]
test_case: [ "container-pytest" ]

if: |
github.event.issue.pull_request
&& (contains(github.event.comment.body, '[test-pytest]') || contains(github.event.comment.body, '[test-all]'))
&& contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
steps:
- uses: sclorg/tfaga-wrapper@main
with:
os_test: ${{ matrix.os_test }}
version: ${{ matrix.version }}
test_case: ${{ matrix.test_case }}
public_api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
private_api_key: ${{ secrets.TF_INTERNAL_API_KEY }}

0 comments on commit 109d1ac

Please sign in to comment.