run isogit tests

desktop-master-git2
bunsenstraat 3 months ago
parent cbb24cad54
commit 85bae9c821
  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