Skip to content

Merge pull request #43 from chainbound/fix/proposer-duties #65

Merge pull request #43 from chainbound/fix/proposer-duties

Merge pull request #43 from chainbound/fix/proposer-duties #65

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ main, develop, "release/**" ]
pull_request:
branches: [ main, develop, "release/**" ]
env:
CARGO_TERM_COLOR: always
jobs:
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
fetch-depth: '0'
path: ./repos/${{ secrets.REPO_NAME }}
ref: ${{ github.ref }}
# Install Protocol Buffers Compiler
- name: Install Protobuf Compiler (protoc)
run: sudo apt-get install -y protobuf-compiler
- name: Change to project directory
run: cd ./repos/${{ secrets.REPO_NAME }}
# Run unit tests
- name: Run unit tests
run: cargo test --workspace --all-features
working-directory: ./repos/${{ secrets.REPO_NAME }}