-
Notifications
You must be signed in to change notification settings - Fork 767
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added UI tests reporting
- Loading branch information
Showing
10 changed files
with
189 additions
and
45 deletions.
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,66 @@ | ||
name: Run UI Tests | ||
on: | ||
workflow_dispatch | ||
jobs: | ||
build-for-ui-test-mac-os: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Java | ||
uses: actions/setup-java@v2.1.0 | ||
with: | ||
distribution: zulu | ||
java-version: 11 | ||
- name: Build Plugin | ||
run: gradle :buildPlugin | ||
- name: Run Idea | ||
run: | | ||
mkdir -p build/reports | ||
gradle :runIdeForUiTests > build/reports/idea.log & | ||
- name: Wait for Idea started | ||
uses: jtalk/url-health-check-action@1.5 | ||
with: | ||
url: http://127.0.0.1:8082 | ||
max-attempts: 20 | ||
retry-delay: 10s | ||
- name: Tests | ||
run: gradle :testUi | ||
- name: Save fails report | ||
if: ${{ failure() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ui-test-fails-report-mac | ||
path: | | ||
build/reports | ||
# build-for-ui-test-linux: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - name: Setup Java | ||
# uses: actions/setup-java@v2.1.0 | ||
# with: | ||
# distribution: zulu | ||
# java-version: 11 | ||
# - name: Build Plugin | ||
# run: gradle :buildPlugin | ||
# - name: Run Idea | ||
# run: | | ||
# export DISPLAY=:99.0 | ||
# Xvfb -ac :99 -screen 0 1920x1080x16 & | ||
# mkdir -p build/reports | ||
# gradle :runIdeForUiTests #> build/reports/idea.log | ||
# - name: Wait for Idea started | ||
# uses: jtalk/url-health-check-action@1.5 | ||
# with: | ||
# url: http://127.0.0.1:8082 | ||
# max-attempts: 15 | ||
# retry-delay: 30s | ||
# - name: Tests | ||
# run: gradle :testUi | ||
# - name: Save fails report | ||
# if: ${{ failure() }} | ||
# uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: ui-test-fails-report-linux | ||
# path: | | ||
# ui-test-example/build/reports |
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
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
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
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
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
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
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
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
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