Skip to content

Commit

Permalink
Run tests in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kenba committed Nov 28, 2024
1 parent c0246c6 commit b0716e1
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,8 @@ env:
CARGO_TERM_COLOR: always

jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- name: Unit test
run: cargo check

build:
name: Build
name: Unit Test
runs-on: ubuntu-latest

steps:
Expand All @@ -41,10 +31,8 @@ jobs:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable
- name: Build
run: cargo build --verbose
# - name: Run tests
# run: cargo test -- --test-threads=1
- name: Run tests
run: cargo test -- --test-threads=1

clippy:
name: Clippy
Expand Down

0 comments on commit b0716e1

Please sign in to comment.