Fix bug in reward calc involving fractional delegations. #1171
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: Test Workspace | |
on: | |
push: | |
branches-ignore: | |
- 'satisfiability/*' | |
- 'vehicle_routing/*' | |
- 'knapsack/*' | |
- 'test/satisfiability/*' | |
- 'test/vehicle_routing/*' | |
- 'test/knapsack/*' | |
- 'dev/satisfiability/*' | |
- 'dev/vehicle_routing/*' | |
- 'dev/knapsack/*' | |
jobs: | |
test_workspace: | |
name: Test Workspace | |
permissions: | |
contents: read | |
statuses: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: x86_64-unknown-linux-gnu | |
- name: Cargo Test | |
run: > | |
cargo test -p tig-utils --features web3 | |
- name: Update Commit Status (Success) | |
if: success() | |
uses: myrotvorets/set-commit-status-action@master | |
with: | |
status: 'success' | |
- name: Update Commit Status (Failure) | |
if: failure() | |
uses: myrotvorets/set-commit-status-action@master | |
with: | |
status: 'failure' |