run isogit tests

pull/5370/head
bunsenstraat 3 months ago
parent 12696ad11f
commit 557cba1edb
  1. 5
      .circleci/config.yml
  2. 18
      apps/remixdesktop/run_git_ui_isogit_tests.sh

@ -133,6 +133,11 @@ jobs:
command: |
cd apps/remixdesktop/
./run_ci_test.sh
- run:
name: "Run isogit tests"
command: |
cd apps/remixdesktop/
./run_git_ui_isogit_tests.sh
- store_test_results:
path: ./apps/remixdesktop/reports/tests
- store_artifacts:

@ -1,6 +1,14 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
TEST_EXITCODE=0
yarn run build:e2e && node ./splice_tests.js
TESTFILES=$(node ./splice_tests.js | grep -i 'git' | circleci tests split --split-by=timings)
for TESTFILE in $TESTFILES; do
yarn run test --useIsoGit --test ./build-e2e/remixdesktop/test/tests/app/${TESTFILE} || TEST_EXITCODE=1
done
for testfile in build-e2e/remixdesktop/test/tests/app/git*.js
do
yarn test:isogit --test $testfile
done
echo "$TEST_EXITCODE"
if [ "$TEST_EXITCODE" -eq 1 ]
then
exit 1
fi

Loading…
Cancel
Save