Skip to content

Merge pull request #11 from jkugiya/chore/ci_version #36

Merge pull request #11 from jkugiya/chore/ci_version

Merge pull request #11 from jkugiya/chore/ci_version #36

Workflow file for this run

name: CI
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scala: [ 3.3.3, 2.13.14, 2.12.19 ]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Scala
uses: olafurpg/setup-scala@v10
with:
java-version: "adopt@1.11"
- name: Run tests
run: sbt coverage "++${{ matrix.scala }} test"
- name: Upload coverage data to Coveralls
run: sbt ++${{ matrix.scala }} coverageReport coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: Scala ${{ matrix.scala }}