-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (34 loc) · 937 Bytes
/
unittest.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:
pull_request:
branches: [ develop ]
push:
paths-ignore:
- 'README.md'
branches: [ develop ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# coursier cache action caches both coursier and sbt caches
- name: coursier-cache-action
uses: coursier/cache-action@v6
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- name: Run tests
env:
AGORA_URL_ROOT: http://localhost:8989
RAWLS_URL_ROOT: http://localhost:8990
THURLOE_URL_ROOT: http://localhost:8991
FIRE_CLOUD_ID: 123
run: sbt clean coverage test coverageReport
- uses: codecov/codecov-action@v5
if: ${{ always() }}