F/rewards generation 2 (#81) #226
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: babylonchain/babylon-contract/local-tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
local-build-test: | |
runs-on: ubuntu-latest | |
container: | |
image: rust:1.78.0 | |
steps: | |
- uses: actions/checkout@v4.1.0 | |
- name: Build contracts, check formats, and run unit tests | |
run: cargo test --lib | |
local-build-test-full-validation: | |
runs-on: ubuntu-latest | |
container: | |
image: rust:1.78.0 | |
steps: | |
- uses: actions/checkout@v4.1.0 | |
- name: Build contracts, check formats, and run unit tests (full validation) | |
run: cargo test --lib --features full-validation |