Skip to content

Reduce size of Rust library (#33) #94

Reduce size of Rust library (#33)

Reduce size of Rust library (#33) #94

Workflow file for this run

name: Rust Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache Rust artifacts
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
workspaces: rust
- name: Build and Install Rust Project
run: cargo install --path rust/crates/mesc_cli --profile dev
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9' # Specify your required Python version
- name: Install Python dependencies for testing
run: |
pip install pytest pytest-xdist
- name: Run Rust tests
run: |
cd tests
pytest --adapters adapters/cli