Skip to content

chore: prepare v2.1.0 #68

chore: prepare v2.1.0

chore: prepare v2.1.0 #68

Workflow file for this run

name: "CI: checks and tests"
on:
push:
branches:
- develop
- main
- bugfix/**
- feature/**
- hotfix/**
- release/**
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
# https://github.com/denoland/setup-deno/releases
- name: Setup Deno
uses: denoland/setup-deno@4606d5cc6fb3f673efd4f594850e3f4b3e9d29cd
with:
deno-version: v2.x
- name: Run linter
run: deno lint
- name: Run tests and activate coverage
run: deno test --allow-read --allow-write --unstable-kv --allow-env --allow-net --coverage -- --database=./test/it-database.sqlite3 --scan=config.yml
- name: Generate lcov report
run: deno task lcov
- name: Check test coverage minimum 90%
uses: terencetcf/github-actions-lcov-minimum-coverage-checker@v1
with:
coverage-file: cov.lcov
minimum-coverage: 90