Skip to content

Update README.md

Update README.md #50

Workflow file for this run

name: Core Algorithm Tests
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
- name: Build Maturin crate
run: |
source venv/bin/activate
maturin develop --bindings pyo3 --release
- name: Run tests
run: |
source venv/bin/activate
python -m pytest tests/enum_test.py tests/test_ranked_vote.py