-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(unit): adding tests unit and pipeline (#242)
* test(unit): adding tests unit and pipeline (#241) * test(unit): adding tests unit and pipeline * test(unit): update coverage format * test(unit): update coverage format * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * test(unit): adding tests unit and pipeline * chore(release): bump version to 3.0.0-next.22
- Loading branch information
1 parent
fcdbccb
commit 0f4d9da
Showing
73 changed files
with
3,568 additions
and
1,630 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,28 @@ | ||
--- | ||
version: "2" | ||
plugins: | ||
csslint: | ||
enabled: false | ||
coffeelint: | ||
enabled: false | ||
duplication: | ||
enabled: true | ||
config: | ||
languages: | ||
- javascript | ||
- typescript | ||
eslint: | ||
enabled: true | ||
channel: "eslint-8" | ||
config: | ||
config: .package/lib/eslintrc.js | ||
ignore_warnings: true | ||
fixme: | ||
enabled: true | ||
|
||
exclude_patterns: | ||
- .husky/ | ||
- .vscode/ | ||
- node_modules/* | ||
- packages/lib/bin/ | ||
- packages/lib/build/ |
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 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,27 @@ | ||
name: Build Lib Tests | ||
on: | ||
pull_request: | ||
branches: [next] | ||
paths: | ||
- "packages/lib/**" | ||
|
||
jobs: | ||
lib-build-test: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/lib | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Install dependencies | ||
run: make install | ||
|
||
- name: Build lib | ||
run: make build |
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,39 @@ | ||
name: Tests Units | ||
|
||
on: | ||
push: | ||
branches: [master, next] | ||
pull_request: | ||
branches: [master, next] | ||
|
||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./packages/lib | ||
|
||
steps: | ||
- name: Checkout Actions | ||
uses: actions/checkout@master | ||
|
||
- uses: actions/setup-node@master | ||
with: | ||
node-version: "16" | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Install modules | ||
run: make install | ||
|
||
- name: Test & Publish Code Coverage | ||
uses: paambaati/codeclimate-action@v3.0.0 | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
with: | ||
coverageCommand: make test-unit-coverage | ||
coverageLocations: | | ||
${{github.workspace}}/packages/lib/coverage/clover.xml:clover |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.DS_Store | ||
node_modules | ||
node_modules | ||
coverage |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.