From 816bb38dc0e50cb599e4b073f37cc0ae63598eb7 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 6 Dec 2023 13:25:50 +0100 Subject: [PATCH] tests: WIP testing farm integration --- .github/workflows/tests.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8b6bb489..e6e7aadd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -76,3 +76,21 @@ jobs: # XDG_RUNTIME_DIR is set. # TODO: figure out what exactly podman needs sudo -E XDG_RUNTIME_DIR= pytest-3 -s -vv + + testingfarm: + name: "Run in testing farm" + runs-on: ubuntu-22.04 + # TODO: add "if" to limit runs on testing farm(?) + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + - name: Run the tests + uses: sclorg/testing-farm-as-github-action@v1 + uses: ./ + with: + api_key: ${{ secrets.TF_API_KEY }} + git_url: ${{ github.event.pull_request.head.repo.clone_url }} + git_ref: ${{ github.event.pull_request.head.ref }} + tmt_plan_regex: "all" + pull_request_status_name: "fedora 39"