Skip to content

420 change github workflow to run test with feature flags #2

420 change github workflow to run test with feature flags

420 change github workflow to run test with feature flags #2

Workflow file for this run

name: Test Benchmark
on:
pull_request:
push:
branches:
- main
jobs:
test-code:
runs-on: ubuntu-latest
env:
# Make sure CI fails on all warnings, including Clippy lints
RUSTFLAGS: "-Dwarnings"
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/shared
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test For runtime benchmarks
uses: actions-rs/cargo@v1
with:
command: test
args: --features=runtime-benchmarks,try-runtime