Skip to content

Commit

Permalink
Create sbt-coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongl authored Oct 13, 2021
1 parent e27fd4b commit b6cc464
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/sbt-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
push:
branches:
- master
- main
pull_request:

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v13
- name: branch-names
id: branch-name
uses: tj-actions/branch-names@v2.2
- run: sbt coverage +test coverageReport
- run: sbt coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CI_BRANCH: ${{ steps.branch-name.outputs.current_branch }}

0 comments on commit b6cc464

Please sign in to comment.