From 4203033d5f1d2dc6111c6b2f51655bbec71aaf16 Mon Sep 17 00:00:00 2001 From: nokyan Date: Tue, 22 Oct 2024 23:03:22 +0200 Subject: [PATCH] Add cargo tests workflow --- .github/workflows/cargo-test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/cargo-test.yml diff --git a/.github/workflows/cargo-test.yml b/.github/workflows/cargo-test.yml new file mode 100644 index 00000000..1aafd9ab --- /dev/null +++ b/.github/workflows/cargo-test.yml @@ -0,0 +1,19 @@ +name: Cargo tests + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + runs-on: ubuntu-latest + container: + image: bilelmoussaoui/flatpak-github-actions:gnome-44 + options: --privileged + steps: + - uses: actions/checkout@v4 + - uses: actions-rust-lang/setup-rust-toolchain@v1 + - run: cargo test --all-features