-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5516 from ckeditor/circle-ci
- Loading branch information
Showing
16 changed files
with
77 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
version: 2.1 | ||
orbs: | ||
browser-tools: circleci/[email protected] | ||
|
||
workflows: | ||
test: | ||
jobs: | ||
- test_chrome | ||
- test_firefox | ||
|
||
jobs: | ||
test_chrome: | ||
docker: | ||
- image: cimg/node:10.24.1-browsers | ||
steps: | ||
- browser-tools/install-browser-tools | ||
- checkout | ||
- run: | ||
name: Install npm | ||
command: npm install --prefix=$HOME/.local install npm@7 -g | ||
- run: | ||
name: Install dependencies | ||
command: npm install | ||
- run: | ||
name: Install Bender.js CLI | ||
command: npm install --prefix=$HOME/.local benderjs-cli -g | ||
- run: | ||
name: Setup Bender.js test runner | ||
command: | | ||
cd .. | ||
git clone https://github.com/ckeditor/ckeditor4-benderjs-runner.git --branch v1.2.0 --single-branch | ||
cd ckeditor4-benderjs-runner | ||
npm i | ||
pwd | ||
- run: | ||
name: Run tests on Chrome | ||
command: | | ||
cd ../ckeditor4-benderjs-runner | ||
pwd | ||
npm run start -- --configFile "../../project/bender-runner.config.json" --browser "chrome" --fullRun "fullRun" --repoPath "../project/" | ||
test_firefox: | ||
docker: | ||
- image: cimg/node:10.24.0-browsers | ||
steps: | ||
- browser-tools/install-browser-tools | ||
- checkout | ||
- run: | ||
name: Install npm | ||
command: npm install --prefix=$HOME/.local install npm@7 -g | ||
- run: | ||
name: Install dependencies | ||
command: npm install | ||
- run: | ||
name: Install Bender.js CLI | ||
command: npm install --prefix=$HOME/.local benderjs-cli -g | ||
- run: | ||
name: Setup Bender.js test runner | ||
command: | | ||
cd .. | ||
git clone https://github.com/ckeditor/ckeditor4-benderjs-runner.git --branch v1.2.0 --single-branch | ||
cd ckeditor4-benderjs-runner | ||
npm i | ||
pwd | ||
- run: | ||
name: Run tests on Chrome | ||
command: | | ||
cd ../ckeditor4-benderjs-runner | ||
pwd | ||
npm run start -- --configFile "../../project/bender-runner.config.json" --browser "firefox" --fullRun "fullRun" --repoPath "../project/" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters