mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-10-25 20:22:23 +00:00
Enable extended testing workflows on PRs (#1437)
This commit is contained in:
1 parent
b5a8505978
commit
700efab5e0
4 files changed
+53
No files matched your search
@@ -15,3 +15,4 @@ jobs:
|
||||
with:
|
||||
timeout: 150
|
||||
horizonqa: true
|
||||
external-deps-inclusion: true
|
||||
@@ -0,0 +1,10 @@
|
||||
name: Check state of other required PRs
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master, main, release/** ]
|
||||
|
||||
jobs:
|
||||
check-required-prs:
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/gate-by-required.yml@master
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,19 @@
|
||||
name: Test integration in latest daily
|
||||
|
||||
# Shim to forward the "Build and test" completion to the full pack test wf, whose
|
||||
# jobs inherit this workflow_run event context (github.event.workflow_run.*)
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Build and test"]
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
statuses: write
|
||||
|
||||
jobs:
|
||||
latest-daily-integration-test:
|
||||
if: github.event.workflow_run.event == 'pull_request'
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/latest-daily-integration-test.yml@master
|
||||
secrets: inherit
|
||||
@@ -0,0 +1,23 @@
|
||||
name: Trigger a rebuild with externally required PRs
|
||||
|
||||
# Shim to forward the "Build and test" completion to the rebuild with deps wf, whose
|
||||
# job inherits this workflow_run event context (github.event.workflow_run.*)
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Build and test"]
|
||||
types: [completed]
|
||||
|
||||
permissions:
|
||||
actions: write
|
||||
contents: read
|
||||
statuses: write
|
||||
|
||||
jobs:
|
||||
trigger-rebuild-with-deps:
|
||||
# Only act on a failed, first-attempt PR build
|
||||
if: >-
|
||||
github.event.workflow_run.conclusion == 'failure'
|
||||
&& github.event.workflow_run.event == 'pull_request'
|
||||
&& github.event.workflow_run.run_attempt == 1
|
||||
uses: GTNewHorizons/GTNH-Actions-Workflows/.github/workflows/trigger-rebuild-with-deps.yml@master
|
||||
secrets: inherit
|
||||
Reference in new issue
Block a user