MIM-1718 fixed NVDA for calculators #1550
Workflow file for this run
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
name: 'Deploy to Test' | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'MIMIR-1227_updates-and-manual-deploy' | |
concurrency: | |
group: mimir-test | |
jobs: | |
deploy_to_test: | |
name: 'Deploy to Test' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- id: build_app | |
uses: enonic/release-tools/build-and-publish@master | |
with: | |
skipPublishing: true | |
- id: deploy_app_to_XP | |
uses: 'enonic/action-app-deploy@main' | |
with: | |
# Secrets from Github repository | |
url: ${{ secrets.ENONIC_TEST_URL }} | |
username: ${{ secrets.ENONIC_USER }} | |
password: ${{ secrets.ENONIC_TEST_PASS }} | |
client_cert: ${{ secrets.ENONIC_CERT }} | |
client_key: ${{ secrets.ENONIC_KEY }} | |
app_jar: "./build/libs/*.jar" | |
- name: Upload artifacts | |
id: upload_artifacts | |
if: success() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: mimir-test-${{ github.run_number }} | |
path: "./build/libs/*.jar" | |
- name: Send failure message to Slack | |
id: slack_failure | |
if: failure() | |
uses: slackapi/slack-github-action@v1 | |
with: | |
payload: | | |
{ | |
"blocks": [ | |
{ | |
"type": "header", | |
"text": { | |
"type": "plain_text", | |
"text": "${{ github.workflow }}" | |
} | |
}, | |
{ | |
"type": "context", | |
"elements": [ | |
{ | |
"type": "image", | |
"image_url": "https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png", | |
"alt_text" : "Github logo" | |
}, | |
{ | |
"type": "mrkdwn", | |
"text": "Run by: *${{ github.actor }}* on: *${{ github.ref_name }}*" | |
} | |
] | |
}, | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "💣 Build ${{ github.run_number }} is a *${{ job.status }}*, and that's cool!\nIf you want to fix it, start by looking at the <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|workflow output>" | |
} | |
} | |
] | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_MIMIR_UTV }} | |
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | |
mabl_test: | |
# Run this job after deploy is finished, and only run if deploy succeeded | |
needs: deploy_to_test | |
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }} | |
runs-on: ubuntu-latest | |
container: node:lts | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Branch name and commit hash | |
run: | | |
echo running on branch ${GITHUB_HEAD_REF##*/} or ${GITHUB_REF##*/} | |
echo running $(echo $GITHUB_SHA | cut -c1-8) and ${GITHUB_SHA} | |
- name: install mabl | |
run: npm install -g @mablhq/mabl-cli | |
- name: mabl end-to-end test - TEST | |
run: mabl deployments create --api-key ${{ secrets.MABLAPIKEY }} --application-id ${{ secrets.MABLAPPID }} --environment-id ${{ secrets.MABLENVTEST }} --labels MIMIR --revision ${{ github.sha }} --await-completion |