Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
VicAlbr committed Aug 6, 2024
1 parent 8fe8b24 commit ddc87f4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/test-ui-e2e-only-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ jobs:
e2e-tests-linux:
name: "Desktop Tests E2E (Ubuntu)"
outputs:
status: ${{ steps.tests.outcome }}
status1: ${{ steps.tests1.outcome }}
status2: ${{ steps.tests2.outcome }}
status3: ${{ steps.tests3.outcome }}
env:
NODE_OPTIONS: "--max-old-space-size=7168"
INSTRUMENT_BUILD: true
Expand Down Expand Up @@ -121,7 +123,7 @@ jobs:
run: docker pull ${{ env.SPECULOS_IMAGE_TAG }}
shell: bash
- name: Run playwright tests [Linux => xvfb-run]
id: tests
id: tests${{ matrix.shardIndex }}
run: |
export SPECULOS_IMAGE_TAG=${{ env.SPECULOS_IMAGE_TAG }}
export COINAPPS=$PWD/coin-apps
Expand Down Expand Up @@ -203,12 +205,11 @@ jobs:
- name: Get status color
if: ${{ !cancelled() }}
shell: bash
run: >
if ${{ needs.e2e-tests-linux.outputs.status == 'success' }};
then echo "STATUS_COLOR=#33FF39" >> $GITHUB_ENV;
elif ${{ needs.e2e-tests-linux.outputs.status == 'failure' }};
then echo "STATUS_COLOR=#FF333C" >> $GITHUB_ENV;
else echo "STATUS_COLOR=#F3FF33" >> $GITHUB_ENV;
run: |
if [[ "${{ needs.e2e-tests-linux.outputs.status1 }}" == "failure" || "${{ needs.e2e-tests-linux.outputs.status2 }}" == "failure" || "${{ needs.e2e-tests-linux.outputs.status3 }}" == "failure" ]]; then
echo "STATUS_COLOR=#FF333C" >> $GITHUB_ENV
else
echo "STATUS_COLOR=#33FF39" >> $GITHUB_ENV
fi
- uses: actions/github-script@v6
Expand Down

0 comments on commit ddc87f4

Please sign in to comment.