run isogit everywhere

desktop-master-git2
bunsenstraat 3 months ago
parent 85bae9c821
commit 86ecea907b
  1. 15
      .circleci/config.yml
  2. 10
      apps/remixdesktop/test/tests/app/git-ui.test.ts
  3. 9
      apps/remixdesktop/test/tests/app/git-ui_2.test.ts
  4. 9
      apps/remixdesktop/test/tests/app/git-ui_3.test.ts
  5. 9
      apps/remixdesktop/test/tests/app/git-ui_4.test.ts

@ -276,12 +276,19 @@ jobs:
yarn yarn
./rundist.bash ./rundist.bash
- run: - run:
name: start tests offline name: run tests
command: | command: |
cd "apps/remixdesktop/" cd "apps/remixdesktop/"
yarn -v yarn -v
sleep 15 sleep 15
./run_ci_test.sh ./run_ci_test.sh
- run:
name: "Run isogit tests"
command: |
cd apps/remixdesktop/
yarn -v
sleep 15
./run_git_ui_isogit_tests.sh
- store_test_results: - store_test_results:
path: ./apps/remixdesktop/reports/tests path: ./apps/remixdesktop/reports/tests
- store_artifacts: - store_artifacts:
@ -528,6 +535,12 @@ jobs:
nvm use 20 nvm use 20
cd apps/remixdesktop cd apps/remixdesktop
./run_ci_test.sh ./run_ci_test.sh
- run:
name: "Run isogit tests"
command: |
nvm use 20
cd apps/remixdesktop
./run_git_ui_isogit_tests.sh
- store_test_results: - store_test_results:
path: ./apps/remixdesktop/reports/tests path: ./apps/remixdesktop/reports/tests
- store_artifacts: - store_artifacts:

@ -194,7 +194,13 @@ const tests = {
}, },
} }
const useIsoGit = process.argv.includes('--useIsoGit'); const useIsoGit = process.argv.includes('--useIsoGit');
module.exports = { if (process.platform.startsWith('win')) {
...process.platform.startsWith('win') ? {} : process.platform.startsWith('linux') || useIsoGit ? tests : {} if (useIsoGit)
module.exports = { ...tests }
else
module.exports = {}
} }
else
module.exports = { ...tests }

@ -173,6 +173,11 @@ const tests = {
} }
const useIsoGit = process.argv.includes('--useIsoGit'); const useIsoGit = process.argv.includes('--useIsoGit');
module.exports = { if (process.platform.startsWith('win')) {
...process.platform.startsWith('win') ? {} : process.platform.startsWith('linux') || useIsoGit ? tests : {} if (useIsoGit)
module.exports = { ...tests }
else
module.exports = {}
} }
else
module.exports = { ...tests }

@ -144,6 +144,11 @@ const tests = {
} }
const useIsoGit = process.argv.includes('--useIsoGit'); const useIsoGit = process.argv.includes('--useIsoGit');
module.exports = { if (process.platform.startsWith('win')) {
...process.platform.startsWith('win') ? {} : process.platform.startsWith('linux') || useIsoGit ? tests : {} if (useIsoGit)
module.exports = { ...tests }
else
module.exports = {}
} }
else
module.exports = { ...tests }

@ -191,6 +191,11 @@ const tests = {
} }
const useIsoGit = process.argv.includes('--useIsoGit'); const useIsoGit = process.argv.includes('--useIsoGit');
module.exports = { if (process.platform.startsWith('win')) {
...process.platform.startsWith('win') ? {} : process.platform.startsWith('linux') || useIsoGit ? tests : {} if (useIsoGit)
module.exports = { ...tests }
else
module.exports = {}
} }
else
module.exports = { ...tests }
Loading…
Cancel
Save