SendToOwnersReorgSpec: Use convenient function to check transaction v… #472
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: Omni Core RegTest | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
java: [ '11', '17' ] | |
distribution: ['temurin'] | |
fail-fast: false | |
name: ${{ matrix.os }} JDK ${{ matrix.java }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Omni Core | |
run: ./test-download-omnicore-ubuntu.sh | |
- name: Set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
- name: Cache Gradle packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: ${{ runner.os }}-gradle | |
- name: Run RegTests | |
run: ./test-omni-integ-regtest.sh | |
- name: Upload RegTest results as artifact | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: regtest-omnij-jdk${{ matrix.java }}-${{ matrix.os }}-reports | |
path: | | |
omnij-cli/build/reports/tests/regTest | |
omnij-rpc/build/reports/tests/regTest |