Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix running scripted tests for sbt plugin in CI #63

Merged
merged 1 commit into from
Dec 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"