Skip to content

Fix release pipeline by adding quotes to the sbt release command #31

Fix release pipeline by adding quotes to the sbt release command

Fix release pipeline by adding quotes to the sbt release command #31

name: Tests & Coverage
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
tests-and-coverage:
name: Tests & Coverage
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
- name: Run tests and generate coverage report
run: |-
cp .jvmopts-ci .jvmopts
sbt coverage test coverageReport && bash <(curl -s https://codecov.io/bash)