bump rust to 0.3.0 #96
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |