Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
e5ee2ba7
Commit
e5ee2ba7
authored
Jul 15, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ci error
parent
9813a1da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
browser_tests.sh
apps/remix-ide/ci/browser_tests.sh
+1
-1
browser_tests_chrome.sh
apps/remix-ide/ci/browser_tests_chrome.sh
+5
-5
browser_tests_firefox.sh
apps/remix-ide/ci/browser_tests_firefox.sh
+1
-1
No files found.
apps/remix-ide/ci/browser_tests.sh
View file @
e5ee2ba7
...
@@ -22,7 +22,7 @@ setupRemixd
...
@@ -22,7 +22,7 @@ setupRemixd
sleep
5
sleep
5
npm run nightwatch_parallel
||
TEST_EXITCODE
=
1
npm run nightwatch_parallel
||
TEST_EXITCODE
=
1
TESTFILES
=
$(
circleci tests glob
"./test-browser/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
TESTFILES
=
$(
circleci tests glob
"./
apps/remix-ide/
test-browser/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
for
TESTFILE
in
$TESTFILES
;
do
for
TESTFILE
in
$TESTFILES
;
do
./node_modules/.bin/nightwatch
--config
nightwatch.js
--env
chrome
$TESTFILE
||
TEST_EXITCODE
=
1
./node_modules/.bin/nightwatch
--config
nightwatch.js
--env
chrome
$TESTFILE
||
TEST_EXITCODE
=
1
done
done
...
...
apps/remix-ide/ci/browser_tests_chrome.sh
View file @
e5ee2ba7
...
@@ -4,11 +4,11 @@ set -e
...
@@ -4,11 +4,11 @@ set -e
setupRemixd
()
{
setupRemixd
()
{
mkdir
remixdSharedfolder
mkdir
remixdSharedfolder
cd
contracts
cd
apps/remix-ide/
contracts
echo
'sharing folder: '
echo
'sharing folder: '
echo
$PWD
echo
$PWD
.
/../node_modules/.bin/remixd
-s
$PWD
--remix-ide
http://127.0.0.1:808
0 &
.
./../../node_modules/.bin/remixd
-s
$PWD
--remix-ide
http://127.0.0.1:420
0 &
cd
..
cd
..
/../..
}
}
BUILD_ID
=
${
CIRCLE_BUILD_NUM
:-${
TRAVIS_JOB_NUMBER
}}
BUILD_ID
=
${
CIRCLE_BUILD_NUM
:-${
TRAVIS_JOB_NUMBER
}}
...
@@ -21,9 +21,9 @@ setupRemixd
...
@@ -21,9 +21,9 @@ setupRemixd
sleep
5
sleep
5
TESTFILES
=
$(
circleci tests glob
"./test-browser/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
TESTFILES
=
$(
circleci tests glob
"./
apps/remix-ide/
test-browser/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
for
TESTFILE
in
$TESTFILES
;
do
for
TESTFILE
in
$TESTFILES
;
do
./node_modules/.bin/nightwatch
--config
nightwatch.js
--env
chrome
$TESTFILE
||
TEST_EXITCODE
=
1
./node_modules/.bin/nightwatch
--config
./apps/remix-ide/
nightwatch.js
--env
chrome
$TESTFILE
||
TEST_EXITCODE
=
1
done
done
echo
"
$TEST_EXITCODE
"
echo
"
$TEST_EXITCODE
"
...
...
apps/remix-ide/ci/browser_tests_firefox.sh
View file @
e5ee2ba7
...
@@ -23,7 +23,7 @@ sleep 5
...
@@ -23,7 +23,7 @@ sleep 5
TESTFILES
=
$(
circleci tests glob
"./apps/remix-ide/test-browser/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
TESTFILES
=
$(
circleci tests glob
"./apps/remix-ide/test-browser/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
for
TESTFILE
in
$TESTFILES
;
do
for
TESTFILE
in
$TESTFILES
;
do
./node_modules/.bin/nightwatch
--config
nightwatch.js
--env
firefox
$TESTFILE
||
TEST_EXITCODE
=
1
./node_modules/.bin/nightwatch
--config
./apps/remix-ide/
nightwatch.js
--env
firefox
$TESTFILE
||
TEST_EXITCODE
=
1
done
done
echo
"
$TEST_EXITCODE
"
echo
"
$TEST_EXITCODE
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment