Skip to content

added support for codecov on main (#9) #11

added support for codecov on main (#9)

added support for codecov on main (#9) #11

Workflow file for this run

name: Pull Request
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
integrity-checks:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Verify formatting
run: deno fmt --check
- name: Run linter
run: deno lint
- name: Run tests
run: |
deno test -A --coverage=cov_profile
deno coverage cov_profile --lcov --output=cov_profile.lcov
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}