Skip to content

Commit

Permalink
MAN-227 - update test workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
achimber-moj committed Dec 19, 2024
1 parent 04c09c2 commit 24c994f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/node_integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,22 @@ jobs:
id: integration-tests
shell: bash
run: |
npm run start-feature &
nohup npm run start-feature &
sleep 5
npm run int-test
# continue-on-error: true
# replacing the above with if: always()
# - name: upload results
# if: always()
# uses: actions/upload-artifact@v4
# with:
# name: npm_integration_test_artifacts
# path: |
# integration-tests/videos/
# integration_tests/screenshots/
# - name: fail the action if the tests failed
# if: ${{ steps.integration-tests.outcome == 'failure' }}
# uses: actions/github-script@v7
# with:
# script: |
# core.setFailed('Integration tests failed')
- name: upload results
if: always()
uses: actions/upload-artifact@v4
with:
name: npm_integration_test_artifacts
path: |
integration-tests/videos/
integration_tests/screenshots/
- name: fail the action if the tests failed
if: ${{ steps.integration-tests.outcome == 'failure' }}
uses: actions/github-script@v7
with:
script: |
core.setFailed('Integration tests failed')

0 comments on commit 24c994f

Please sign in to comment.