change: coverage exclude tests directory

This commit is contained in:
ITOH
2021-05-09 12:41:51 +02:00
parent 3f02ca6cc3
commit 49483bb32f
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
run: deno test --unstable --coverage=coverage -A tests/mod.ts
- name: Create coverage report
if: github.ref == 'refs/heads/main'
run: deno --unstable coverage ./coverage --lcov > coverage.lcov
run: deno --unstable coverage --exclude=./tests ./coverage --lcov > coverage.lcov
- name: Collect and upload the coverage report
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v1.0.10