Skip to content

Commit

Permalink
ui-tests, fix yml issue #1257
Browse files Browse the repository at this point in the history
  • Loading branch information
sgauruseu committed Dec 4, 2023
1 parent a380184 commit 04325b3
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,34 +89,33 @@ jobs:
key: ${{ runner.os }}-gradle-2-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-2-
- run: |
set -ex
- uses: actions/download-artifact@v3
with:
name: app-main
path: build/libs/app-main.jar

- name: Run Selenium Tests
run: ./gradlew :testing:${{ matrix.suite }}

- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
if: failure()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: notif-build-tests
SLACK_USERNAME: GitHub Actions
SLACK_TITLE: GitHub Action Failure in Admin Home app
SLACK_MESSAGE: ${{job.container.id}}
SLACK_ICON: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
SLACK_COLOR: ${{ job.status }}

- uses: actions/upload-artifact@v3
if: always() && steps.selenium.conclusion != 'skipped'
with:
name: 'ui-test-report-${{ matrix.suite }}'
path: |
testing/build/reports
- run: |
set -ex
- uses: actions/download-artifact@v3
with:
name: app-main
path: build/libs/app-main.jar

- name: Run Selenium Tests
run: ./gradlew :testing:${{ matrix.suite }}

- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
if: failure()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: notif-build-tests
SLACK_USERNAME: GitHub Actions
SLACK_TITLE: GitHub Action Failure in Admin Home app
SLACK_MESSAGE: ${{job.container.id}}
SLACK_ICON: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
SLACK_COLOR: ${{ job.status }}

- uses: actions/upload-artifact@v3
if: always() && steps.selenium.conclusion != 'skipped'
with:
name: 'ui-test-report-${{ matrix.suite }}'
path: |
testing/build/reports

0 comments on commit 04325b3

Please # to comment.