check for local_mx only when default route is used #318
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
name: Test Coverage | |
on: [ pull_request ] | |
env: | |
CI: true | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
name: Node.js | |
- name: install libarchive-tools | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libarchive-tools | |
- run: npm install | |
- name: run coverage | |
run: | | |
npm install --no-save c8 | |
npx c8 --reporter=lcovonly npm test | |
env: | |
NODE_ENV: cov | |
- name: codecov | |
uses: codecov/codecov-action@v2 | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.github_token }} |