forked from scalacenter/scalac-profiling
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.05 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
push:
tags: ["*"]
branches: ['**', '!update/**', '!pr/**']
pull_request:
branches: ['**', '!update/**', '!pr/**']
jobs:
scalafmt:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- name: Check formatting
run: sbt -v "scalafmtSbtCheck" "scalafmtCheckAll"
plugin-tests:
name: Compiler and SBT plugin tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: coursier/cache-action@v6
- 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"