-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* run Google Chrome. * updated WebTestUtil. * upload test screenshots for debugging. * updated webtests. * Updated Test Logs Page BPMN file. * All webtests updated and working. * Updated test_workers_page BPMN file. * Set workflow to run daily at 5 AM PST. * Updated WorkersTestIT. * Send Slack message to CWS Dev Team. * Create LoadTestIT. * Update unit tests. * Update Maven dependencies for asserts. * Updated workflow file.
- Loading branch information
1 parent
bb69f53
commit cb7d781
Showing
40 changed files
with
840 additions
and
653 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 |
---|---|---|
|
@@ -2,7 +2,11 @@ name: CWS CI | |
|
||
# Triggers the workflow on push or pull request | ||
#on: [push, pull_request] | ||
on: [push] | ||
on: | ||
push: | ||
schedule: | ||
# trigger a build and test of CWS daily at 5 AM PST / 12 PM UTC | ||
- cron: '0 12 * * *' | ||
|
||
jobs: | ||
|
||
|
@@ -57,6 +61,8 @@ jobs: | |
run: | | ||
cd dist/console-only/cws/server/apache-tomcat-9.0.33/logs | ||
ls -al | ||
- uses: browser-actions/setup-chrome@latest | ||
- run: chrome --version | ||
- name: Run Unit and Integration Tests | ||
run: | | ||
chmod +x test.sh | ||
|
@@ -67,23 +73,28 @@ jobs: | |
with: | ||
name: jacoco-report | ||
path: jacoco-reports/aggregate/index.html | ||
|
||
|
||
#run-tests: | ||
|
||
#runs-on: ubuntu-latest | ||
|
||
#needs: build-cws | ||
|
||
#steps: | ||
#- uses: actions/checkout@v3 | ||
#- name: Set up JDK 8 | ||
#uses: actions/setup-java@v3 | ||
#with: | ||
#java-version: '8' | ||
#distribution: 'temurin' | ||
#cache: maven | ||
#- name: CWS Unit and Integration Test Run | ||
#run: | | ||
#chmod +x test.sh | ||
#./test.sh | ||
- name: Upload test screenshots | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: test-screenshots | ||
path: test-screenshots/ | ||
- name: Send custom JSON data to Slack workflow | ||
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
# This data can be any valid JSON from a previous step in the GitHub Action | ||
payload: | | ||
{ | ||
"status": "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}", | ||
"blocks": [ | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | ||
} | ||
} | ||
] | ||
} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |
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
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
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
Oops, something went wrong.