From e917d5584ff16b641a776ea9dd8e6702a7b6f0de Mon Sep 17 00:00:00 2001 From: FroVolod Date: Tue, 7 Jan 2025 23:41:55 +0200 Subject: [PATCH] ci: Added "cargo test" command (#33) Resolves #32 Co-authored-by: FroVolod --- .github/workflows/tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..f60c048 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,22 @@ +name: Tests +on: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + tests: + name: Tests + runs-on: ubuntu-20.04 + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + profile: minimal + - name: Tests + run: cargo test --workspace