haraka-plugin-karma 1.0.14 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codeclimate.yml +16 -1
- package/.eslintrc.yaml +3 -0
- package/.github/workflows/ci.yml +50 -0
- package/.github/workflows/codeql.yml +14 -0
- package/.github/workflows/publish.yml +16 -0
- package/Changes.md +35 -14
- package/README.md +3 -5
- package/index.js +462 -526
- package/package.json +8 -7
- package/test/karma.js +300 -300
- package/.github/workflows/ci-test-win.yml +0 -38
- package/.github/workflows/ci-test.yml +0 -41
- package/.github/workflows/lint.yml +0 -33
- package/.travis.yml +0 -20
- package/appveyor.yml +0 -20
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
name: Tests - Windows
|
|
2
|
-
|
|
3
|
-
on: [ push, pull_request ]
|
|
4
|
-
|
|
5
|
-
# no docker/images support on Windows (currently), so run w/o Redis
|
|
6
|
-
# also, stack run commands so test doesn't begin before install completes
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
|
|
10
|
-
ci-test-win:
|
|
11
|
-
|
|
12
|
-
runs-on: ${{ matrix.os }}
|
|
13
|
-
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
os: [ windows-latest ]
|
|
17
|
-
node-version: [ 14.x, 16.x ]
|
|
18
|
-
fail-fast: false
|
|
19
|
-
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v2
|
|
22
|
-
name: Checkout
|
|
23
|
-
with:
|
|
24
|
-
fetch-depth: 1
|
|
25
|
-
|
|
26
|
-
- uses: actions/setup-node@v2
|
|
27
|
-
name: Use Node.js ${{ matrix.node-version }}
|
|
28
|
-
with:
|
|
29
|
-
node-version: ${{ matrix.node-version }}
|
|
30
|
-
|
|
31
|
-
- name: Install
|
|
32
|
-
run: npm install
|
|
33
|
-
|
|
34
|
-
- name: Test
|
|
35
|
-
run: npm run test
|
|
36
|
-
|
|
37
|
-
env:
|
|
38
|
-
CI: true
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
name: Tests
|
|
2
|
-
|
|
3
|
-
on: [ push, pull_request ]
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
|
|
7
|
-
ci-test:
|
|
8
|
-
|
|
9
|
-
runs-on: ${{ matrix.os }}
|
|
10
|
-
|
|
11
|
-
strategy:
|
|
12
|
-
matrix:
|
|
13
|
-
os: [ ubuntu-latest ]
|
|
14
|
-
node-version: [ 14.x, 16.x ]
|
|
15
|
-
fail-fast: false
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
- uses: actions/checkout@v2
|
|
19
|
-
name: Checkout
|
|
20
|
-
with:
|
|
21
|
-
fetch-depth: 1
|
|
22
|
-
|
|
23
|
-
- uses: actions/setup-node@v2
|
|
24
|
-
name: Use Node.js ${{ matrix.node-version }}
|
|
25
|
-
with:
|
|
26
|
-
node-version: ${{ matrix.node-version }}
|
|
27
|
-
|
|
28
|
-
- name: Install
|
|
29
|
-
run: npm install
|
|
30
|
-
|
|
31
|
-
- name: Test
|
|
32
|
-
run: npm run test
|
|
33
|
-
|
|
34
|
-
env:
|
|
35
|
-
CI: true
|
|
36
|
-
|
|
37
|
-
services:
|
|
38
|
-
redis:
|
|
39
|
-
image: redis
|
|
40
|
-
ports:
|
|
41
|
-
- 6379/tcp
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
name: Haraka Lint
|
|
2
|
-
|
|
3
|
-
on: [ push, pull_request ]
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
|
|
7
|
-
lint:
|
|
8
|
-
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
|
|
11
|
-
strategy:
|
|
12
|
-
matrix:
|
|
13
|
-
node-version: [ 14.x ]
|
|
14
|
-
|
|
15
|
-
steps:
|
|
16
|
-
- uses: actions/checkout@v2
|
|
17
|
-
name: Checkout
|
|
18
|
-
with:
|
|
19
|
-
fetch-depth: 1
|
|
20
|
-
|
|
21
|
-
- uses: actions/setup-node@v2
|
|
22
|
-
name: Use Node.js ${{ matrix.node-version }}
|
|
23
|
-
with:
|
|
24
|
-
node-version: ${{ matrix.node-version }}
|
|
25
|
-
|
|
26
|
-
- name: Install
|
|
27
|
-
run: npm install
|
|
28
|
-
|
|
29
|
-
- name: Lint
|
|
30
|
-
run: npm run lint
|
|
31
|
-
|
|
32
|
-
env:
|
|
33
|
-
CI: true
|
package/.travis.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
language: node_js
|
|
2
|
-
node_js:
|
|
3
|
-
- "14"
|
|
4
|
-
- "16"
|
|
5
|
-
|
|
6
|
-
before_install:
|
|
7
|
-
- npm install
|
|
8
|
-
|
|
9
|
-
before_script:
|
|
10
|
-
|
|
11
|
-
script:
|
|
12
|
-
- npm run lint
|
|
13
|
-
- npm test
|
|
14
|
-
|
|
15
|
-
after_success:
|
|
16
|
-
# - npm install istanbul codecov
|
|
17
|
-
# - npm run cover
|
|
18
|
-
# - ./node_modules/.bin/codecov
|
|
19
|
-
|
|
20
|
-
sudo: false
|
package/appveyor.yml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
environment:
|
|
2
|
-
nodejs_version: "12"
|
|
3
|
-
|
|
4
|
-
install:
|
|
5
|
-
- ps: Install-Product node $env:nodejs_version
|
|
6
|
-
- npm install
|
|
7
|
-
|
|
8
|
-
before_build:
|
|
9
|
-
build: off
|
|
10
|
-
after_build:
|
|
11
|
-
|
|
12
|
-
before_test:
|
|
13
|
-
- node --version
|
|
14
|
-
- npm --version
|
|
15
|
-
|
|
16
|
-
test_script:
|
|
17
|
-
- npm test
|
|
18
|
-
|
|
19
|
-
after_test:
|
|
20
|
-
|