Skip to content

Qol updates

Qol updates #43

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
chomp-format:
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.40.0"
- name: Check format
run: deno fmt --check
chomp-lint:
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.40.0"
- name: Check lint
run: deno lint
chomp-tests:
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.40.0"
- name: Run tests generating coverage
run: deno task test:coverage
- name: Generate lcov report
run: deno task coverage > cov.lcov
- name: upload coverage
uses: codecov/codecov-action@v4
with:
files: ./cov.lcov
token: ${{ secrets.CODECOV_TOKEN }}