-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b77b10c
commit 54b4a09
Showing
2 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Schedule test on Testing Farm | ||
on: | ||
pull_request: | ||
|
||
# The concurrency key is used to prevent multiple workflows from running at the same time | ||
concurrency: | ||
group: my-concurrency-group | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
# Let's schedule tests only on user request. NOT automatically. | ||
# Only repository owner or member can schedule tests | ||
#github.event.issue.pull_request | ||
#&& contains(github.event.comment.body, '[test]') | ||
#&& contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association) | ||
steps: | ||
- name: Schedule test on Testing Farm | ||
uses: sclorg/testing-farm-as-github-action@v2 | ||
with: | ||
api_key: ${{ secrets.TF_API_KEY }} | ||
git_url: https://github.com/majamassarini/deployment | ||
git_ref: tf-openshift-tests | ||
tmt_plan_regex: "deployment" | ||
pull_request_status_name: "Deployment" | ||
create_issue_comment: true | ||
timeout: 3600 | ||
secrets: CRC_PULL_SECRET=${{ secrets.CRC_PULL_SECRET }} | ||
#tmt_hardware: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters