new article #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple workflow for checking test coverage threshold | |
name: Check Test Coverage | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
branches: ["*"] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Allow one concurrent | |
concurrency: | |
group: "cover" | |
cancel-in-progress: true | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: denoland/setup-deno@v1.1.1 | |
with: | |
deno-version: v1.x # Run with latest stable Deno. | |
- name: Run tests | |
run: deno task cover |