Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .galasa/cps.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ zos.image.SIMBANK.ipv4.hostname=127.0.0.1
zos.image.SIMBANK.telnet.tls=false
zos.image.SIMBANK.telnet.port=2023
zos.image.SIMBANK.webnet.port=2080
zos.image.SIMBANK.credentials=SIMBANK
zos.image.SIMBANK.credentials=SIMBANK

zosmf.server.SIMBANK.images=SIMBANK
zosmf.server.SIMBANK.hostname=127.0.0.1
zosmf.server.SIMBANK.port=2040
zosmf.server.SIMBANK.https=false
15 changes: 14 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,27 @@ jobs:
--reportjson ${{ github.workspace }}/.galasa/test-3.json \
--log -

- name: Run the BatchAccountsOpenTest
working-directory: ${{ github.workspace }}/temp
env:
GALASA_VERSION: ${{ needs.get-galasa-version.outputs.galasa-version }}
run: |
./galasactl runs submit local \
--obr mvn:dev.galasa/dev.galasa.simbank.obr/${GALASA_VERSION}/obr \
--obr mvn:dev.galasa/dev.galasa.uber.obr/${GALASA_VERSION}/obr \
--class dev.galasa.simbank.tests/dev.galasa.simbank.tests.BatchAccountsOpenTest \
--remoteMaven https://development.galasa.dev/main/maven-repo/obr \
--reportjson ${{ github.workspace }}/.galasa/test-4.json \
--log -

#----------------------------------------------------------------------------------
# Combine test reports and report to Slack channel
# Skip these steps for forks. Only report results if this workflow was
# called from a regression run as Main builds run multiple times a day.
- name: Combine test reports
if: ${{ failure() && github.repository_owner == 'galasa-dev' && github.event_name == 'schedule' }}
run: |
jq -s '{ tests: map(.tests[]) }' ${{ github.workspace }}/.galasa/test-1.json ${{ github.workspace }}/.galasa/test-2.json ${{ github.workspace }}/.galasa/test-3.json > ${{ github.workspace }}/.galasa/tests.json
jq -s '{ tests: map(.tests[]) }' ${{ github.workspace }}/.galasa/test-1.json ${{ github.workspace }}/.galasa/test-2.json ${{ github.workspace }}/.galasa/test-3.json ${{ github.workspace }}/.galasa/test-4.json > ${{ github.workspace }}/.galasa/tests.json

# The test report must be sent to Slack in the next job that uses the ubuntu-latest runner.
# We need to run a Docker image to communicate with the Slack webhook and the macos-latest
Expand Down
Loading