Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

Commit

Permalink
add github actions & codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Mar 6, 2021
1 parent 7294d61 commit e6e6c99
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: denolib/setup-deno@v2
with:
deno-version: v1.8
- name: Create tests
run: deno test --unstable --coverage=coverage
- name: Create coverage report
run: deno --unstable coverage ./coverage --lcov > coverage.lcov
- name: Collect coverage
uses: codecov/[email protected]
with:
file: ./coverage.lcov

0 comments on commit e6e6c99

Please sign in to comment.