Skip to content

Commit 2cf8484

Browse files
committed
add multireporters
1 parent 0e90506 commit 2cf8484

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+5277
-17
lines changed
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
service_name: travis-ci

cypress-multi-reporters/.editorconfig

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
; EditorConfig file: https://EditorConfig.org
2+
; Install the "EditorConfig" plugin into your editor to use
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
insert_final_newline = true
10+
indent_style = space
11+
indent_size = 4
12+
trim_trailing_whitespace = true
13+
14+
[*.json]
15+
indent_size = 2
16+
17+
[*.yml]
18+
indent_size = 2
19+
20+
21+
[*.md]
22+
indent_size = 4

cypress-multi-reporters/.eslintignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.editorconfig
2+
artifacts/
3+
coverage/
4+
node_modules/
5+
lcov-*
6+
xunit*
7+
!.eslintrc.js

cypress-multi-reporters/.eslintrc.js

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: 'eslint:recommended',
5+
env: {
6+
node: true
7+
},
8+
parserOptions: {
9+
ecmaVersion: 2015
10+
},
11+
rules: {
12+
'brace-style': [2, 'stroustrup', {allowSingleLine: true}],
13+
'no-console': 0,
14+
strict: [2],
15+
indent: [2, 4],
16+
17+
semi: ['error'],
18+
'prefer-const': ['error'],
19+
'no-var': ['error'],
20+
'prefer-destructuring': ['error'],
21+
'object-shorthand': ['error'],
22+
quotes: ['error', 'single'],
23+
'quote-props': ['error', 'as-needed'],
24+
'prefer-template': ['error']
25+
},
26+
overrides: [
27+
{
28+
files: 'tests/**',
29+
env: {
30+
mocha: true
31+
},
32+
globals: {
33+
expect: true
34+
}
35+
}
36+
]
37+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### Expected behavior
2+
3+
### Actual behavior
4+
5+
### Information about the Issue
6+
7+
8+
### Steps to reproduce the behavior
9+
10+
1. ...
11+
2. ...
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches: [master]
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [12.x, 14.x, 16.x]
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
cache: 'yarn'
24+
- id: publish
25+
run: scripts/ci/build-and-test.sh
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish and release
2+
3+
on:
4+
repository_dispatch:
5+
types:
6+
- release-triggered
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- uses: actions/setup-node@v3
16+
with:
17+
node-version: 12
18+
registry-url: 'https://registry.npmjs.org'
19+
- id: publish
20+
run: scripts/ci/release.sh
21+
env:
22+
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTOMATION_TOKEN}}
23+
- name: Create Release
24+
id: create_release
25+
uses: actions/create-release@v1
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
28+
with:
29+
tag_name: v${{ steps.publish.outputs.version }}
30+
release_name: Release v${{ steps.publish.outputs.version }}
31+
body: ${{steps.publish.outputs.notes}}
32+
draft: false
33+
prerelease: false

cypress-multi-reporters/.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Logs
2+
logs
3+
*.log
4+
5+
# Runtime data
6+
pids
7+
*.pid
8+
*.seed
9+
xunit*
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
18+
.grunt
19+
20+
# node-waf configuration
21+
.lock-wscript
22+
23+
# Compiled binary addons (http://nodejs.org/api/addons.html)
24+
build/Release
25+
artifacts
26+
27+
# Dependency directory
28+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
29+
node_modules
30+
31+
.idea
32+
.nyc_output

cypress-multi-reporters/.ncurc.js

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
module.exports = {
4+
// Whitelist all for checking besides `peer` which indicates
5+
// somewhat older versions of `eslint` we still support even
6+
// while our devDeps point to a more recent version
7+
"dep": "prod,dev,optional,bundle"
8+
};

cypress-multi-reporters/.npmignore

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
node_modules
2+
scripts
3+
4+
.github
5+
artifacts
6+
tests
7+
.coveralls.yml
8+
.eslint*
9+
.gitignore
10+
.travis.yml
11+
yarn.lock
12+
xunit.xml
13+
commitlint.config.js
14+
.nyc_output/
15+
coverage
16+
cypress-multi-reporters.tar.gz
17+
renovate.json
18+
.editorconfig
19+
.ncurc.js

cypress-multi-reporters/.travis.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
language: node_js
2+
node_js:
3+
- node
4+
- lts/*
5+
- 14
6+
- 12
7+
- 10
8+
os:
9+
- linux
10+
matrix:
11+
fast_finish: true
12+
cache: yarn
13+
env:
14+
global:
15+
- secure: GafZaP9uxJGukTI9UiKlMG5KbrJsin3xn3cRLXVjLLG4ctdPkXY+1w6RPJcRUm0ogCJS95p4HosltayyOQkb1Icve2nuaP4dqi79HKu+OgXqJ2VdNNT1XhK++QThmPrjq11sWank2m7LkbYm+rMj7PzxKUePAmloQUZLypSOQJk7jkQ5KAf0+nQv6K6Oj3xWJyDPFQkokQPc7EreaEV0iKi6RKoOhCed+Ju8KpbzBkj6ksRGwOaEVIkxFn7vNpQPO3X7JXQ/ZNQIB7Pbvolqi6JPuS3s/nnsFTA1Qiv4oQSV90yswH8ZlEZMN2hk8q/S7HzTMPXpZ/GGRNzBThbU+AUyCCiwQ8WzMwS5G0Ks+ICvhYdBc/stVvBpmYq7tQkib2Nj59hjG06AD9D+ZjU3QsmulBQ8jlZaD0zA334y+isQ35LLl6wkfIIzVQIU/dWj8V8x1clKjmhywDPMrTCgimQ9GT+Lk9BHAH0PbmOFQQc+h3ANfrZrypxHX8hhZxC7WxOto4ZGsFcf9nSikVSz9hgVxPlA3+Mkg220zBZEUe/MiBx9Q4ZdL465/NsTmqw6eRkcu28W0BAEVFh3+2GHDAHj4onW2f9PjX/Bdh3s6kXy8NzEFbbPr9wt5HK70x6U9H2rUbPpA2PIyp5UitnihGXXKC4ES1js/IHW0TjV9O4=
16+
install: yarn install --ignore-engines
17+
script: ./scripts/build.sh
18+
after_success:
19+
- cat artifacts/coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
20+
before_deploy:
21+
- npm prune --production
22+
- tar -czvf cypress-multi-reporters.tar.gz package.json index.js lib/* config.json LICENSE README.md CHANGELOG.md
23+
- npm run deploy:prepare
24+
deploy:
25+
- provider: releases
26+
api_key:
27+
secure: YlZkFy8FBs7zzTbsRuP+rW4vpB5ui9prDvS/XqouDjdOb2k35z1z0pu3UBk298zCGklKqh4MGEt15jFRilEM4YogSGloswnlQKnviR92JyP8nqKN1yaO/BRTlW6+xyYhpjm5ZjJinMBtfwWKSPWe1SmHSLLxkaZo/MmuXLxTiNYqJs9jtrTCj/TDtFOCTDc0mprm97QaET+LuG+PmzG1JXEcbsNVBa+YW5MUqOD9BPAbbiGJb/r+BlCGreNUwyvvnMAnvefVUlRDw7l+hwbPwhRts3+nfAM2dH6vPcLFgb7VomsFUPTXAwOObX3thubptFtcxlNgPwpAbncIboqQkFUbeLc8I2hQyp9oxkxJnrN8KodB1vGTujWHzAn1+Xml1XZ6RgCLawdfwqDADaqpUT4zaBbKrGXrc0EZ3kF0c+QsCl+BZOa5AVKJOEm/KJX2/kRtatG8cI7RDjo5icOwhyXGKsrrnjMIrZWKhNDnbExPZxy17oevQYX7+YT489UqrSytmMZwmPVZ+uQJEmQiny3racJoT7VESL3UAMDhEdP+WBlmp5DRW7aLnOMLRO/d6SDkAUg2ykN1Pwjt6jfGTaNVfULSzGGtFFkna//kw01Bq3511W60A9Uafrae0SM7l6azTfw/tYGh3l/48W8eVq8pF5Sz06bLysyObDC5Xo8=
28+
file: cypress-multi-reporters.tar.gz
29+
skip_cleanup: true
30+
on:
31+
tags: true
32+
repo: YOU54F/cypress-multi-reporters
33+
branch: automatedRelease
34+
node: "10"
35+
- provider: script
36+
skip_cleanup: true
37+
script: ./scripts/publish.sh
38+
on:
39+
tags: true
40+
branch: automatedRelease
41+
node: "12"

cypress-multi-reporters/CHANGELOG.md

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
## [1.6.0](https://github.com/you54f/cypress-multi-reporters/compare/v1.5.0...v1.6.0) (2022-04-19)
6+
7+
8+
### Features
9+
10+
* add gh pipeline ([#161](https://github.com/you54f/cypress-multi-reporters/issues/161)) ([c66ef47](https://github.com/you54f/cypress-multi-reporters/commit/c66ef470ce7f63b888ad37ce17c2e5cb8d995f3c))
11+
12+
## [1.5.0](https://github.com/you54f/cypress-multi-reporters/compare/v1.4.0...v1.5.0) (2021-04-12)
13+
14+
## [1.4.0](https://github.com/you54f/cypress-multi-reporters/compare/v1.3.0...v1.4.0) (2020-05-12)
15+
16+
17+
18+
## [1.3.0](https://github.com/you54f/cypress-multi-reporters/compare/v1.2.4...v1.3.0) (2020-05-11)
19+
20+
21+
22+
### [1.2.4](https://github.com/you54f/cypress-multi-reporters/compare/v1.2.3...v1.2.4) (2020-02-12)
23+
24+
25+
26+
### [1.2.3](https://github.com/you54f/cypress-multi-reporters/compare/v1.2.1...v1.2.3) (2019-10-17)
27+
28+
29+
30+
### [1.2.2](https://github.com/you54f/cypress-multi-reporters/compare/v1.2.1...v1.2.2) (2019-10-17)
31+
32+
33+
34+
### [1.2.1](https://github.com/you54f/cypress-multi-reporters/compare/v1.2.0...v1.2.1) (2019-08-07)
35+
36+
37+
38+
## [1.2.0](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.23...v1.2.0) (2019-07-08)
39+
40+
41+
### Features
42+
43+
* **options:** add options in rc file ([#14](https://github.com/you54f/cypress-multi-reporters/issues/14)) ([5f633ec](https://github.com/you54f/cypress-multi-reporters/commit/5f633ec))
44+
45+
46+
47+
### [1.1.23](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.22...v1.1.23) (2019-07-08)
48+
49+
50+
51+
### [1.1.22](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.12...v1.1.22) (2019-06-07)
52+
53+
54+
### Bug Fixes
55+
56+
* check reporter fix, by @cacaocake ([1dc3c9](https://github.com/you54f/cypress-multi-reporters/commit/1dc3c9))
57+
58+
59+
### [1.1.21](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.20...v1.1.21) (2019-06-03)
60+
61+
62+
63+
### [1.1.20](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.19...v1.1.20) (2019-06-03)
64+
65+
66+
67+
### [1.1.19](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.18...v1.1.19) (2019-06-03)
68+
69+
70+
71+
### [1.1.18](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.17...v1.1.18) (2019-06-03)
72+
73+
74+
75+
### [1.1.17](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.16...v1.1.17) (2019-06-03)
76+
77+
78+
79+
### [1.1.16](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.15...v1.1.16) (2019-06-03)
80+
81+
82+
83+
### [1.1.15](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.14...v1.1.15) (2019-06-03)
84+
85+
86+
### Bug Fixes
87+
88+
* update all the deps ([f8cd4f8](https://github.com/you54f/cypress-multi-reporters/commit/f8cd4f8))
89+
90+
91+
92+
### [1.1.14](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.13...v1.1.14) (2019-06-03)
93+
94+
95+
96+
### [1.1.13](https://github.com/you54f/cypress-multi-reporters/compare/v1.1.12...v1.1.13) (2019-06-03)
97+
98+
99+
### Bug Fixes
100+
101+
* make compatible with mocha 6+ and earlier versions ([b8db10c](https://github.com/you54f/cypress-multi-reporters/commit/b8db10c))
102+
103+
104+
### Build System
105+
106+
* automated pipeline ([88b06c7](https://github.com/you54f/cypress-multi-reporters/commit/88b06c7))

cypress-multi-reporters/LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2019 Yousaf Nabi
4+
Copyright (c) 2015 Stanley Ng
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

0 commit comments

Comments
 (0)