-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 996 Bytes
/
pull_request.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
on: pull_request
name: Pull request tests.
jobs:
test:
name: Pull request tests
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: snapshot-streaming
- name: Checkout tessellation
uses: actions/checkout@v3
with:
path: tessellation
repository: Constellation-Labs/tessellation
ref: v2.12.0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: sbt
- name: Build tessellation packages
run: (cd tessellation; sbt kernel/publishM2 shared/publishM2 keytool/publishM2 sdk/publishM2 nodeShared/publishM2)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Compile
run: (cd snapshot-streaming; sbt test)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}