From 595ceb8c70a209c58c9faf980b886f1933fca6ea Mon Sep 17 00:00:00 2001 From: Sergei Petrosian Date: Mon, 17 Jun 2024 16:53:08 +0200 Subject: [PATCH] Try without matrix and if Signed-off-by: Sergei Petrosian --- .github/workflows/tmt.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tmt.yml b/.github/workflows/tmt.yml index 738dd8a1..b5f6b415 100644 --- a/.github/workflows/tmt.yml +++ b/.github/workflows/tmt.yml @@ -12,17 +12,17 @@ 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 @@ -30,7 +30,7 @@ jobs: 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 }}"