-
Notifications
You must be signed in to change notification settings - Fork 43
79 lines (65 loc) · 1.84 KB
/
tests.yml
File metadata and controls
79 lines (65 loc) · 1.84 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Tests
on: [ push,workflow_dispatch,workflow_call,pull_request ]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04, macos-15, windows-2022 ]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Compile all
run: mvn install -"DskipTests" -"Dgpg.skip"
- name: Run Utils tests
run: |
cd utils
mvn test
- name: Run Cell tests
run: |
cd cell
mvn test
- name: Run Func tests
run: |
cd func
mvn test
- name: Run Fift tests
run: |
cd fift
mvn test
# - name: Run Tolk tests
# run: |
# cd tolk
# mvn test
- name: Run Address tests
run: |
cd address
mvn test
# - name: Run Disassembler tests
# run: |
# cd disassembler
# mvn test
- name: Run BitString tests
if: matrix.os != 'macos-15' # hangs on github
run: |
cd bitstring
mvn test
# - name: Run tonlib - testTonlibGetTxsByAddress
# run: |
# cd tonlib
# mvn test -Dtest=TestTonlibJsonTestnet#testTonlibGetTxsByAddress
#
# - name: Run tonlib - testTonlibRunMethodParticipantsList
# run: |
# cd tonlib
# mvn test -Dtest=TestTonlibJsonTestnet#testTonlibRunMethodParticipantsList
- name: Run adnl lite-client - testTonlibGetTxsByAddress
run: |
cd adnl
mvn test -Dtest=AdnlLiteClientTest#testMasterchainInfoExt