Update sbt-ci-release to 1.6.0 #927
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
code-style-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Check code style | |
run: sbt scalafmtCheckAll scalafmtSbtCheck "scalafixAll --check" | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
scala-version: [ "2.12", "2.13" ] | |
test-set: [ "probe", "scala" ] | |
fail-fast: false | |
steps: | |
- uses: actions/[email protected] | |
- name: Prepare the environment | |
run: | | |
git fetch --tags | |
sbt ci/generateScripts | |
ci/tests/build_image | |
- name: Run tests | |
env: | |
SCALA_VERSION: ${{ matrix.scala-version }} | |
TEST_SET: ${{ matrix.test-set }} | |
run: ci/tests/run $TEST_SET $SCALA_VERSION | |
- name: Upload screenshots | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: screenshots-${{ matrix.test-set }}_${{ matrix.scala-version }} | |
path: /tmp/ide-probe/screenshots |