Skip to content

Fix tests not building on Linux #373

Fix tests not building on Linux

Fix tests not building on Linux #373

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
Build:
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Python - Install 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Python - Install Dependencies
run: |
python -m pip install --upgrade pip
pip install cffi pytest
- name: Rust - Build
run: cargo build --verbose
- name: Rust - Style
run: cargo fmt --check
- name: Rust - Clippy
run: cargo clippy -- -D warnings
- name: Rust - Test
run: cargo test --verbose