migrate to sepolia #95
Workflow file for this run
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: Java SDK Unit Test | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
mvn_test_linux: | |
name: mvn test (linux) | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Java and Maven | |
uses: actions/setup-java@v3 | |
with: | |
distribution: "adopt-hotspot" | |
java-version: "8" | |
cache: "maven" | |
- name: Setup Rust toolchain x86_64-unknown-linux-gnu | |
uses: actions-rs/toolchain@v1 | |
with: | |
target: x86_64-unknown-linux-gnu | |
- name: Compile Native Library | |
run: | | |
make | |
- name: Cache Maven | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.m2 | |
~/repository | |
key: ${{ github.job }}-${{ hashFiles('**/pom.xml') }} | |
- name: mvn test | |
run: | | |
cd reddio-java && mvn -B clean test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 |