Skip to content

Commit

Permalink
Add code coverage to browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Apr 20, 2021
1 parent 521b34c commit f4d6a1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/sauce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ jobs:
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
- name: Coverage
run: npm run coverage
- name: Codecov
uses: codecov/codecov-action@v1
with:
file: coverage/lcov.info
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"scripts": {
"test": "standard && hallmark && (nyc -s node test/self.js | faucet) && nyc report",
"coverage": "nyc report -r lcovonly",
"test-browsers": "airtap --verbose test/self.js > airtap.log",
"test-browsers": "airtap --coverage --verbose test/self.js",
"test-browsers-local": "airtap -p local test/self.js",
"hallmark": "hallmark --fix",
"dependency-check": "dependency-check --no-dev -i queue-microtask .",
Expand Down

0 comments on commit f4d6a1d

Please sign in to comment.