Update Makefile #7
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
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: Build libsensors | |
run: make libsensors | |
- name: Run tests | |
run: | | |
cargo test --all --all-features |