Skip to content

Merge pull request #6 from wiiznokes/ui #17

Merge pull request #6 from wiiznokes/ui

Merge pull request #6 from wiiznokes/ui #17

Workflow file for this run

permissions:
contents: read
on:
push:
branches: [main]
pull_request:
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: Test
jobs:
test_linux:
name: Test on Ubuntu
runs-on: ubuntu-latest
environment: dev
strategy:
matrix:
rust: [ nightly ]
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Clone submodule
run: git submodule update --init libsensors
- name: Build libsensors
run: make libsensors
- name: Run tests
run: |
cargo test --all --all-features