-
Notifications
You must be signed in to change notification settings - Fork 6
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 #145 from katalon-studio/master
Release
- Loading branch information
Showing
27 changed files
with
3,722 additions
and
2,016 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 |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
- macos-latest | ||
- windows-latest | ||
node-version: | ||
- 10.x | ||
- 14.x | ||
|
||
steps: | ||
- name: Checkout code | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
- macos-latest | ||
- windows-latest | ||
node-version: | ||
- 10.x | ||
- 14.x | ||
|
||
steps: | ||
- name: Checkout code | ||
|
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,55 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
- release | ||
|
||
concurrency: | ||
group: test-${{ github.head_ref || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout Katalon Agent | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Nodejs 14 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14' | ||
cache: 'npm' | ||
cache-dependency-path: package-lock.json | ||
|
||
- name: Run test | ||
run: | | ||
npm ci | ||
npm run eslint | ||
npm run test:coverage || true | ||
npm run buildLinux --if-present | ||
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage/lcov.info | ||
- name: Sonar Cloud Scan | ||
uses: SonarSource/[email protected] | ||
with: | ||
args: > | ||
-Dsonar.verbose=true | ||
-X | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
|
||
- name: Run ESLint check | ||
uses: sibiraj-s/action-eslint@v2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
eslint-args: '-c .eslintrc.yml' | ||
extensions: 'js' | ||
annotations: true |
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 |
---|---|---|
|
@@ -67,10 +67,10 @@ typings/ | |
# Temp | ||
tmp | ||
proc | ||
|
||
test/* | ||
!test/core/ | ||
|
||
.idea | ||
*.iml | ||
test/core/api/debug.log | ||
|
||
reports |
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 @@ | ||
v14.17.0 |
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
Oops, something went wrong.