Skip to content

Commit be43b4d

Browse files
authored
Test badge (#24)
* crate badge * tests badge * check * okay merge now
1 parent a38eeb7 commit be43b4d

File tree

3 files changed

+32
-17
lines changed

3 files changed

+32
-17
lines changed

.github/workflows/rust.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,6 @@ jobs:
7171
- name: Clippy
7272
run: cargo clippy --all-targets --all-features -- --deny warnings
7373

74-
test:
75-
name: test
76-
runs-on: ubuntu-latest
77-
steps:
78-
- uses: actions/checkout@v4
79-
80-
- name: Install Rust
81-
uses: dtolnay/rust-toolchain@stable
82-
83-
- name: Rust Cache
84-
uses: Swatinem/rust-cache@v2
85-
with:
86-
key: rust/test
87-
88-
- name: Run tests
89-
run: cargo test --verbose --workspace
90-
9174
toml-fmt:
9275
name: taplo
9376
runs-on: ubuntu-latest

.github/workflows/tests.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Tests
2+
concurrency:
3+
group: ${{ github.workflow }}-${{ github.ref }}
4+
cancel-in-progress: true
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
12+
env:
13+
CARGO_TERM_COLOR: always
14+
15+
jobs:
16+
test:
17+
name: test
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Install Rust
23+
uses: dtolnay/rust-toolchain@stable
24+
25+
- name: Rust Cache
26+
uses: Swatinem/rust-cache@v2
27+
with:
28+
key: rust/test
29+
30+
- name: Run tests
31+
run: cargo test --verbose --workspace

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# koho
22
[![Crates.io - koho](https://img.shields.io/crates/v/koho?label=koho)](https://crates.io/crates/koho)
33
[![License: AGPL v3.0](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
4+
![Tests](https://github.com/TheMesocarp/koho/workflows/Tests/badge.svg)
45

56
Sheaf neural networks and other exotic diffusion models, built on `candle`.
67

0 commit comments

Comments
 (0)