-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try running a custom GitHub action from the same repository.
- Loading branch information
1 parent
3fec31a
commit 754f4d5
Showing
4 changed files
with
57 additions
and
19 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,18 @@ | ||
name: Smoke Tests [New] | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
|
||
permissions: | ||
contents: read | ||
checks: write | ||
|
||
jobs: | ||
smoke-tests: | ||
name: Smoke Tests | ||
runs-on: self-hosted | ||
steps: | ||
- uses: touchlab/SKIE@tk/smoke-tests | ||
|
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
name: Smoke Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
# push: | ||
# branches: | ||
# - '**' | ||
pull_request_target: | ||
branches: | ||
- main | ||
|
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,36 @@ | ||
name: Prepare Job Worker | ||
description: Prepares a job worker for running Gradle tasks on SKIE project | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
token: ${{ secrets.ACCEPTANCE_TESTS_TOKEN }} | ||
- uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
- name: Setup Gradle | ||
uses: gradle/gradle-build-action@v2 | ||
env: | ||
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: 'true' | ||
with: | ||
cache-disabled: true | ||
- name: Run Acceptance Tests | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: ':acceptance-tests:functional__kgp_latestTest' | ||
build-root-directory: SKIE | ||
env: | ||
KOTLIN_LINK_MODE: ${{ inputs.linkage }} | ||
KOTLIN_BUILD_CONFIGURATION: ${{ inputs.configuration }} | ||
- name: Publish Test Report | ||
uses: mikepenz/action-junit-report@v3 | ||
if: ${{ failure() || success() }} | ||
with: | ||
check_name: "Smoke Test Reports - Functional Tests" | ||
report_paths: 'SKIE/acceptance-tests/build/test-results/functional__*/TEST-*.xml' | ||
require_tests: true |