forked from ymasory/scalatra-website-examples
-
Notifications
You must be signed in to change notification settings - Fork 89
35 lines (33 loc) · 851 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
name: Scala CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
test_dir:
- 3.0/async/pekko-examples
- 3.0/formats/scalatra-forms
- 3.0/http/authentication-demo
- 3.0/http/scalatra-gzip
- 3.0/http/scalatra-http-demo
- 3.0/http/scentry-auth-demo
- 3.0/persistence/scalatra-slick
- 3.0/persistence/scalatra-squeryl
- 3.0/views/scalatra-twirl
- 3.0/swagger-example
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 11
distribution: "temurin"
- name: Run tests
env:
TEST_DIR: ${{ matrix.test_dir }}
run: cd $TEST_DIR && sbt test