From 3eb57106b52e76ae15e2e0edbcfa8f5c708f9bdf Mon Sep 17 00:00:00 2001 From: rhysd Date: Mon, 13 Jun 2022 20:27:59 +0900 Subject: [PATCH] run unit tests on CI --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9c8fb8..81acb1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,19 @@ name: CI on: [push, pull_request] jobs: + unit-test: + runs-on: ubuntu-latest + env: + CARGO_TERM_COLOR: always + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - uses: Swatinem/rust-cache@v1 + - run: cargo test -- --skip src/lib.rs lint: runs-on: ubuntu-latest env: