Skip to content

Do not use new for router #103

Do not use new for router

Do not use new for router #103

Workflow file for this run

name: Code Coverage
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: "1.30.0"
- name: Run tests
run: deno test --coverage=./coverage --allow-read --allow-env
- name: Generate lcov
run: deno coverage ./coverage --lcov --exclude="test\\.(ts|js)|wasm\\.js|testdata" > coverage.lcov
- name: Upload Code Coverage Report
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: coverage.lcov