-
Notifications
You must be signed in to change notification settings - Fork 9
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 #20 from haraka/19-unparseable-from
wrap from header parse attempt in a try
- Loading branch information
Showing
14 changed files
with
517 additions
and
435 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
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,37 @@ | ||
name: CI Tests - Windows | ||
|
||
on: [ push, pull_request ] | ||
|
||
# no docker/images support on Windows (currently), so run w/o Redis | ||
# also, stack run commands so test doesn't begin before install completes | ||
|
||
jobs: | ||
|
||
ci-test-win: | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ windows-latest ] | ||
node-version: [10.x, 12.x, 13.x] | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
name: Checkout haraka-plugin-access | ||
with: | ||
fetch-depth: 1 | ||
|
||
- uses: actions/setup-node@v1 | ||
name: Use Node.js ${{ matrix.node-version }} | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: npm install and test | ||
run: | | ||
npm install | ||
npm run test | ||
env: | ||
CI: 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CI Tests | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
|
||
ci-test: | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest ] | ||
node-version: [10.x, 12.x] | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
name: Checkout haraka-plugin-access | ||
with: | ||
fetch-depth: 1 | ||
|
||
- uses: actions/setup-node@v1 | ||
name: Use Node.js ${{ matrix.node-version }} | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: npm install | ||
run: npm install | ||
|
||
- name: Run test suite | ||
run: npm run test | ||
|
||
env: | ||
CI: 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
on: [ pull_request ] | ||
|
||
name: Test Coverage | ||
|
||
jobs: | ||
|
||
coverage: | ||
name: Codecov | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@master | ||
name: Checkout haraka-plugin-access | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Use Node.js 10 | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 10.x | ||
|
||
- name: install, run | ||
run: | | ||
npm install | ||
npm install --no-save nyc codecov | ||
npm run cover | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.github_token }} |
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,33 @@ | ||
name: Lint | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
|
||
lint: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [ 12.x ] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
name: Checkout haraka-plugin-access | ||
with: | ||
fetch-depth: 1 | ||
|
||
- uses: actions/setup-node@v1 | ||
name: Use Node.js ${{ matrix.node-version }} | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: npm install | ||
run: npm install | ||
|
||
- name: Lint using eslint | ||
run: npm run lint | ||
|
||
env: | ||
CI: true |
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 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.