Skip to content

Commit

Permalink
add reporting to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
szczecha committed Feb 21, 2025
1 parent fbb7d2e commit 17e0b46
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/actions/prepare-tests-variables/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ runs:
echo "::notice title=BACKUP_NAMESPACE::${BACKUP_NAMESPACE}"
echo "::notice title=SNAPSHOT::backup_id=${BACKUP_ID}, version=${BACKUP_VER}, name=${BACKUP_NAME}"
echo "::notice title=SALEOR_CLOUD_SERVICE::${SALEOR_CLOUD_SERVICE}"
10 changes: 10 additions & 0 deletions .github/workflows/run-tests-on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
FRAMEWORK: ${{ steps.check-framework.outputs.result }}
IS_OLD_VERSION: ${{ steps.get-environment-variables.outputs.IS_OLD_VERSION }}
ACCOUNTS: ${{ steps.accounts.outputs.ACCOUNTS }}
SALEOR_CLOUD_SERVICE: ${{ steps.cloud_variables.outputs.SALEOR_CLOUD_SERVICE }}
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -132,6 +133,7 @@ jobs:
POOL_NAME: ${{ steps.cloud_variables.outputs.POOL_NAME }}
POOL_INSTANCE: ${{ steps.cloud_variables.outputs.POOL_INSTANCE }}
BACKUP_ID: ${{ steps.cloud_variables.outputs.BACKUP_ID }}
SALEOR_CLOUD_SERVICE: ${{ steps.cloud_variables.outputs.SALEOR_CLOUD_SERVICE }}

- uses: ./.github/actions/testmo/testmo-init
with:
Expand Down Expand Up @@ -255,6 +257,9 @@ jobs:
PW_WORKERS: ${{ vars.PW_WORKERS }}
PW_RETRIES: ${{ vars.PW_RETRIES }}
PROJECT: "e2e apps-e2e"
DASHBOARD_VERSION: ${{inputs.CUSTOM_VERSION}}
BRANCH_NAME: ${{ github.ref}}
SALEOR_CLOUD_SERVICE: ${{ needs.initialize-cloud.outputs.SALEOR_CLOUD_SERVICE }}

- name: submit-results-to-testmo
if: always()
Expand Down Expand Up @@ -301,6 +306,11 @@ jobs:
testmoToken: ${{ secrets.TESTMO_TOKEN }}
testmoRunId: ${{ needs.add-check-and-prepare-instance.outputs.TESTMO_RUN_ID }}

- name: Create flaky report
uses: ./.github/actions/flaky-tests-report
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: send message on slack
working-directory: ".github"
id: send-slack-message
Expand Down

0 comments on commit 17e0b46

Please sign in to comment.