Skip to content

Run clippy and unit tests on push. #11

Run clippy and unit tests on push.

Run clippy and unit tests on push. #11

Workflow file for this run

name: Run unit tests
on: [push]
jobs:
unit-tests:
runs-on: self-hosted
steps:
- run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Check out repo
uses: actions/checkout@v4
- run: |
. "$HOME/.cargo/env"
cargo test
dbus-run-session cargo test --features=install,dbus-tests
clippy:
runs-on: self-hosted
steps:
- run: curl https://sh.rustup.rs -sSf | sh -s -- -y
- name: Check out repo
uses: actions/checkout@v4
- run: |
. "$HOME/.cargo/env"
cargo clippy
cargo clippy --features=install,dbus-tests