Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Scala 如何从sbt工作服迁移到GitHub Actions?_Scala_Github_Sbt_Github Actions_Coveralls - Fatal编程技术网

Scala 如何从sbt工作服迁移到GitHub Actions?

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"

我一直在使用Travis搭配sbt scoverage+sbt工作服,现在想尝试Github动作

我已经能够在我的操作中进行覆盖,但是针对workalls.io的GitHub操作失败,因为没有生成
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操作配置文件吗?