forked from MAIF/thoth
-
Notifications
You must be signed in to change notification settings - Fork 1
26 lines (24 loc) · 835 Bytes
/
Copy pathtest.yml
File metadata and controls
26 lines (24 loc) · 835 Bytes
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
name: Build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.2.0
- name: Set up JDK 15
uses: actions/setup-java@v1
with:
java-version: 15
- name: Start docker
run: docker-compose -f docker-compose.test.yml up -d
- name: Build
id: build_server
run: sbt publishLocal
- name: Run test
id: test
run: JAVA_OPTS="--enable-preview" sbt "project thoth-core" test && sbt "project thoth-jooq" test && sbt "project thoth-jooq-async" test && sbt "project thoth-kafka-goodies" test && sbt "project thoth-tck" test
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: "**/test-reports/**/*.xml"