Skip to content

Commit

Permalink
Try without matrix and if
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Petrosian <[email protected]>
  • Loading branch information
spetrosi committed Jun 17, 2024
1 parent c5a21f9 commit 595ceb8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ concurrency:
jobs:
tests:
name: Testing Farm tests
strategy:
fail-fast: false
matrix:
os_test: [ "Fedora-39", "Fedora-40", "CentOS-7", "CentOS-8", "CentOS-9" ]
# strategy:
# fail-fast: false
# matrix:
# os_test: [ "Fedora-39", "Fedora-40", "CentOS-7", "CentOS-8", "CentOS-9" ]
runs-on: ubuntu-latest
# Let's schedule tests only on user request. NOT automatically.
# Only repository owner or member can schedule tests
if: |
github.event.issue.pull_request
&& contains(github.event.comment.body, '[citest]')
&& contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
# if: |
# github.event.issue.pull_request
# && contains(github.event.comment.body, '[citest]')
# && contains(fromJson('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)
steps:
- name: Schedule test on Testing Farm
uses: sclorg/testing-farm-as-github-action@v2
with:
git_url: https://github.com/spetrosi/tft-tests
git_ref: add-tmt-tests
tmt_path: plans/${{ github.event.repository.name }}
compose: ${{ matrix.os_test }}
compose: Fedora-40
api_key: ${{ secrets.TF_API_KEY_PUB }}
pull_request_status_name: ${{ matrix.os_test }}
pull_request_status_name: Fedora-40
variables: "ANSIBLE_VER=2.16;REPO_NAME=${{ github.event.repository.name }};PR_NUM=${{ github.event.number }}"

0 comments on commit 595ceb8

Please sign in to comment.