Skip to content

add action

add action #2

Workflow file for this run

name: Run tests
on:
# Run on any PR
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout # Clone git repository
uses: actions/checkout@v3
- name: Install dependencies
run: apt-get install -y libhidapi-dev
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Execute tests
run: cargo test --features=it --no-fail-fast