Scala 如何从sbt工作服迁移到GitHub Actions?
我一直在使用Travis搭配sbt scoverage+sbt工作服,现在想尝试Github动作 我已经能够在我的操作中进行覆盖,但是针对workalls.io的GitHub操作失败,因为没有生成Scala 如何从sbt工作服迁移到GitHub Actions?,scala,github,sbt,github-actions,coveralls,Scala,Github,Sbt,Github Actions,Coveralls,我一直在使用Travis搭配sbt scoverage+sbt工作服,现在想尝试Github动作 我已经能够在我的操作中进行覆盖,但是针对workalls.io的GitHub操作失败,因为没有生成lcov.info文件。我不知道scoverage会生成lcov.info(是吗?) 是否有人成功地将GitHub操作与sbt+覆盖+工作服结合使用 以下是我的动作脚本: name: My Scala CI on: ["push", "pull_request"
lcov.info
文件。我不知道scoverage会生成lcov.info
(是吗?)
是否有人成功地将GitHub操作与sbt+覆盖+工作服结合使用
以下是我的动作脚本:
name: My Scala CI
on: ["push", "pull_request"]
jobs:
build:
name: My CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Set up JDK 13
uses: actions/setup-java@v1
with:
java-version: '13.0.1'
- name: Run tests
uses: lokkju/github-action-sbt@master
with:
commands: '+ test'
- name: Generate coverage report (1 of 5 - clean)
uses: lokkju/github-action-sbt@master
with:
commands: 'clean'
- name: Generate coverage report (2 of 5 - coverage)
uses: lokkju/github-action-sbt@master
with:
commands: 'coverage'
- name: Generate coverage report (3 of 5 - test)
uses: lokkju/github-action-sbt@master
with:
commands: 'test'
- name: Generate coverage report (4 of 5 - coverageAggregate)
uses: lokkju/github-action-sbt@master
with:
commands: 'coverageAggregate'
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.COVERALLS }}
您可以共享github操作配置文件吗?您可以共享github操作配置文件吗?