Skip to content

Commit

Permalink
Fix running scripted tests for sbt plugin in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danicheg committed Dec 10, 2023
1 parent ba80c85 commit fbda4ac
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,25 @@ jobs:
- uses: coursier/cache-action@v6
- name: Check formatting
run: sbt -v "scalafmtSbtCheck" "scalafmtCheckAll"
test:
name: ${{ matrix.command }}
plugin-tests:
name: Compiler and SBT plugin tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
command:
- sbt "+plugin/test" "profilingSbtPlugin/scripted compiler-profiling/scripted"
- sbt "showScalaInstances" "integrations/testOnly integration better-files wartremover"
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: coursier/cache-action@v6
- run: ${{ matrix.command }}
- name: Compiler plugin tests
run: sbt -v "+plugin/test"
- name: SBT plugin tests
run: sbt -v "profilingSbtPlugin/scripted"
intergration-tests:
name: Integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: coursier/cache-action@v6
- name: Running tests
run: sbt -v "showScalaInstances" "integrations/testOnly integration better-files wartremover"

0 comments on commit fbda4ac

Please sign in to comment.