forked from Azure/azure-cosmos-tla
-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (34 loc) · 1000 Bytes
/
main.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
name: Regression tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Number of commits to fetch. 0 indicates all history.
fetch-depth: '0'
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11.0.3
##
## Fetch tla2tools.
##
- name: Fetch TLC
run: |
mkdir tools
wget https://nightly.tlapl.us/dist/tla2tools.jar --output-document=tools/tla2tools.jar
##
## Fetch CommunityModules.
##
- name: Fetch CommunityModules
run: |
wget https://github.com/tlaplus/CommunityModules/releases/latest/download/CommunityModules-deps.jar --output-document=tools/CommunityModules-deps.jar
##
## Run TLA+ regression tests.
##
- name: Run regression tests
run: |
cd .github/
java -jar ../tools/tla2tools.jar -config Regressions.tla Regressions.tla