run gh action #155
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [ push,workflow_dispatch,workflow_call,pull_request ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-22.04, macos-13, macos-14, windows-2019 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
- name: Compile all | |
run: mvn -DskipTests install | |
- name: Run Address tests | |
run: | | |
cd address | |
mvn test | |
- name: Run BitString tests | |
run: | | |
cd bitstring | |
mvn test | |
- name: Run Cell tests | |
run: | | |
cd cell | |
mvn test | |
- name: Run Disassembler tests | |
run: | | |
cd disassembler | |
mvn test | |
- name: Run tonlib tests | |
run: | | |
cd tonlib | |
mvn test -Dtest=TestTonlibJson#testTonlibGetAllBlockTransactions | |
- name: Run Utils tests | |
run: | | |
cd utils | |
mvn test |