Skip to content

Commit

Permalink
feat(ci): Add ci for test.
Browse files Browse the repository at this point in the history
  • Loading branch information
KuangjuX committed May 15, 2024
1 parent 49c3f16 commit d25a88a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build CI
name: Run Example CI

on: [push, pull_request]

Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Run Test CI

on: [push, pull_request]

jobs:
examples:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust-toolchain: [stable]
steps:
- uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
components: rust-src
override: true
- name: Check all tests
run: make test

4 changes: 0 additions & 4 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ edition = "2021"
thriller_core = { path = "../thriller-core" }
thriller_utils = { path = "../thriller-utils" }

[[test]]
name = "block"
path = "block.rs"

[[test]]
name = "id"
path = "id.rs"
33 changes: 0 additions & 33 deletions tests/block.rs

This file was deleted.

0 comments on commit d25a88a

Please sign in to comment.