39
39
description : ' Run only smoke tests'
40
40
required : true
41
41
default : false
42
+ tags :
43
+ type : string
44
+ description : ' Tags(optional)'
45
+ required : false
46
+ default : ' '
42
47
cardano_mainnet_url :
43
48
type : choice
44
49
required : true
98
103
- live-preview.us-east-1.lw.iog.io
99
104
- live-preview.us-east-2.lw.iog.io
100
105
101
- run-name : " E2E | os: Linux | browser: ${{ github.event.inputs.browser || 'chrome' }} | network: ${{ github.event.inputs.network || 'preprod' }} | #${{ github.run_number }} | smoke only: ${{ github.event.inputs.smoke_only || 'false' }}"
106
+ run-name : " E2E | os: Linux | browser: ${{ github.event.inputs.browser || 'chrome' }} | network: ${{ github.event.inputs.network || 'preprod' }} | #${{ github.run_number }} | tags: ${{ github.event.inputs.tags || '' }} | smoke only: ${{ github.event.inputs.smoke_only || 'false' }}"
102
107
103
108
env :
104
109
BROWSER : ${{ github.event.inputs.browser || 'chrome' }}
@@ -141,13 +146,15 @@ jobs:
141
146
echo "Network: ${{ github.event.inputs.network || 'preprod' }}"
142
147
echo "Runner: ${{ github.event.inputs.runner || 'ubuntu-22.04' }}"
143
148
echo "Smoke only: ${{ github.event.inputs.smoke_only || 'false' }}"
149
+ echo "Tags(optional): ${{ github.event.inputs.tags || '' }}"
144
150
echo "Cardano mainnet url: ${{ github.event.inputs.cardano_mainnet_url || 'dev-mainnet.lw.iog.io' }}"
145
151
echo "Cardano preprod url: ${{ github.event.inputs.cardano_preprod_url || 'dev-preprod.lw.iog.io' }}"
146
152
echo "Cardano preview url: ${{ github.event.inputs.cardano_preview_url || 'dev-preview.lw.iog.io' }}"
147
153
echo "Build artifact name: ${{ env.BUILD_ARTIFACT_NAME }}"
148
154
outputs :
149
155
runner : ${{ github.event.inputs.runner || 'ubuntu-22.04' }}
150
156
smoke_only : ${{ github.event.inputs.smoke_only || false }}
157
+ tags : ${{ github.event.inputs.tags || '' }}
151
158
build_exists : ${{ steps.check-build-exists.outputs.build_exists }}
152
159
153
160
build :
@@ -209,6 +216,7 @@ jobs:
209
216
with :
210
217
BATCH : ${{ matrix.batch }}
211
218
SMOKE_ONLY : ${{ needs.setup.outputs.smoke_only }}
219
+ TAGS : ${{ needs.setup.outputs.tags }}
212
220
TEST_DAPP_URL : ${{ secrets.TEST_DAPP_URL }}
213
221
WALLET_PASSWORD : ${{ secrets.WALLET_PASSWORD_TESTNET }}
214
222
@@ -235,6 +243,7 @@ jobs:
235
243
browser=${BROWSER}
236
244
platform=Linux
237
245
smoke_only=${{ needs.setup.outputs.smoke_only }}
246
+ tags=${{ needs.setup.outputs.tags }}
238
247
cardano_mainnet_url=${CARDANO_MAINNET_URL}
239
248
cardano_preprod_url=${CARDANO_PREPROD_URL}
240
249
cardano_preview_url=${CARDANO_PREVIEW_URL}
@@ -258,14 +267,14 @@ jobs:
258
267
- name : Add link to summary
259
268
run : |
260
269
echo "TEST RESULTS:"
261
- echo "https://${{ secrets.E2E_REPORTS_USER }}:${{ secrets.E2E_REPORTS_PASSWORD }}@${{ secrets.E2E_REPORTS_URL }}/all/linux/${{ env.BROWSER }}/${{ env.RUN }}/index.html | browser: ${{ env.BROWSER }} | network: ${{ env.NETWORK }} | platform: linux | smoke only: ${{ needs.setup.outputs.smoke_only }}" >> $GITHUB_STEP_SUMMARY
270
+ echo "https://${{ secrets.E2E_REPORTS_USER }}:${{ secrets.E2E_REPORTS_PASSWORD }}@${{ secrets.E2E_REPORTS_URL }}/all/linux/${{ env.BROWSER }}/${{ env.RUN }}/index.html | browser: ${{ env.BROWSER }} | network: ${{ env.NETWORK }} | platform: linux | tags: ${{ needs.setup.outputs.tags }} | smoke only: ${{ needs.setup.outputs.smoke_only }}" >> $GITHUB_STEP_SUMMARY
262
271
263
272
- name : Slack Notification
264
273
uses : rtCamp/action-slack-notify@v2.3.0
265
274
env :
266
275
SLACK_COLOR : " ${{ contains(needs.*.result, 'failure') && 'failure' || 'good' }}"
267
276
SLACK_ICON_EMOJI : ' :lace:'
268
- SLACK_MESSAGE : ' https://${{ secrets.E2E_REPORTS_USER }}:${{ secrets.E2E_REPORTS_PASSWORD }}@${{ secrets.E2E_REPORTS_URL }}/all/linux/${{ env.BROWSER }}/${{ env.RUN }}/index.html | browser: ${{ env.BROWSER }} | network: ${{ env.NETWORK }} | platform: linux | smoke only: ${{ needs.setup.outputs.smoke_only }}'
277
+ SLACK_MESSAGE : ' https://${{ secrets.E2E_REPORTS_USER }}:${{ secrets.E2E_REPORTS_PASSWORD }}@${{ secrets.E2E_REPORTS_URL }}/all/linux/${{ env.BROWSER }}/${{ env.RUN }}/index.html | browser: ${{ env.BROWSER }} | network: ${{ env.NETWORK }} | platform: linux | tags: ${{ needs.setup.outputs.tags }} | smoke only: ${{ needs.setup.outputs.smoke_only }}'
269
278
SLACK_TITLE : ' Test automation results :rocket:'
270
279
SLACK_USERNAME : lace-qa-bot
271
280
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
0 commit comments