Skip to content

ci: lint + unittest

ci: lint + unittest #1

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
pull_request:
jobs:
unittest:
runs-on: ubuntu-20.04
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
architecture: x64
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: |
set -eux
sudo apt-get install -y protobuf-compiler
pip install .[dev] -v
- name: Run Python Tests
run: |
set -eux
pytest -v
- name: Run Rust Lint
run: |
set -eux
cargo test -v