retry command

pull/4837/head
filip mertens 8 months ago
parent d0fd55040e
commit 6f4aaeae9b
  1. 8
      .circleci/config.yml

@ -227,7 +227,7 @@ jobs:
test-remixdesktop-windows: test-remixdesktop-windows:
executor: executor:
name: win/default # executor type name: win/server-2022 # executor type
size: xlarge # can be medium, large, xlarge, 2xlarge size: xlarge # can be medium, large, xlarge, 2xlarge
shell: bash.exe shell: bash.exe
working_directory: ~/remix-project working_directory: ~/remix-project
@ -266,7 +266,9 @@ jobs:
- run: - run:
name: "Run selenium" name: "Run selenium"
command: | command: |
cd apps/remixdesktop/ && nvm use 20.0.0 && node -v && npm install --global yarn && yarn run selenium-win cd apps/remixdesktop/
sleep 5
nvm use 20.0.0 && node -v && npm install --global yarn && yarn run selenium-win || sleep 5 && nvm use 20.0.0 && node -v && npm install --global yarn && yarn run selenium-win
background: true background: true
- run: - run:
name: "Run tests" name: "Run tests"
@ -274,7 +276,7 @@ jobs:
cd apps/remixdesktop/ cd apps/remixdesktop/
nvm use 20.0.0 nvm use 20.0.0
node -v node -v
npm install --global yarn sleep 15
yarn run test:app:win yarn run test:app:win
# see https://docs.digicert.com/en/software-trust-manager/ci-cd-integrations/script-integrations/github-integration-ksp.html # see https://docs.digicert.com/en/software-trust-manager/ci-cd-integrations/script-integrations/github-integration-ksp.html

Loading…
Cancel
Save