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

Loading…
Cancel
Save