-
Notifications
You must be signed in to change notification settings - Fork 367
44 lines (36 loc) · 975 Bytes
/
scala.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
40
41
42
43
44
name: Scala CI
on:
push:
paths:
- 'scala/**'
- '.github/workflows/scala**'
pull_request:
paths:
- 'scala/**'
- '.github/workflows/scala**'
schedule:
# weekly build every FRI
- cron: "0 6 * * 5"
jobs:
matrix_build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest ]
# TODO fix me: windows-latest, macOS-latest,
java: [ 8, 11 ]
# TODO fix me: 11, 12, 13
name: Scala ${{ matrix.java }} Build on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v3
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Run tests
working-directory: scala/scalatest
run: sbt test
- name: Run tests
working-directory: scala/scalatest-with-cats
run: sbt "testOnly SomeOkTest"