Skip to content

Add benchmark

Add benchmark #76

Workflow file for this run

name: "CI"
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Format
run: cargo fmt && git diff --exit-code
- name: Lint
run: |
rustup update
rustup component add clippy
cargo clippy -- -D warnings
test:
strategy:
matrix:
python:
- "3.10"
- "3.11"
- "3.12"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Build
run: |
make develop
make protoc
- name: Test
run: make test
all-tests-pass:
if: always()
needs:
- test
runs-on: ubuntu-latest
steps:
- name: check test jobs
uses: re-actors/[email protected]
with:
jobs: ${{ toJSON(needs) }}