alpha
Login
or
Join now
urschrei.eurosky.social
/
cvmcount
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Rust implementation of the CVM algorithm for counting distinct elements in a stream
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Add testing ci
author
Stephan Hügel
date
1 year ago
(Jun 30, 2025, 12:32 AM +0100)
commit
42946f3a
42946f3a6833ce0cea48d10e29a4aedbe19a9001
parent
a63fca8b
a63fca8bfbd7894dbdcaff82415266e9257ce4e1
change-id
qoomzslm
qoomzslmzwvorrmrwztmwoozzykzxuok
+63
1 changed file
Expand all
Collapse all
Unified
Split
.github
workflows
ci.yml
+63
.github/workflows/ci.yml
Reviewed
···
1
1
+
name: CI
2
2
+
3
3
+
on:
4
4
+
push:
5
5
+
branches: [ main ]
6
6
+
pull_request:
7
7
+
branches: [ main ]
8
8
+
9
9
+
env:
10
10
+
CARGO_TERM_COLOR: always
11
11
+
12
12
+
jobs:
13
13
+
test:
14
14
+
name: Test Suite
15
15
+
runs-on: ${{ matrix.os }}
16
16
+
strategy:
17
17
+
matrix:
18
18
+
os: [ubuntu-latest, windows-latest, macos-latest]
19
19
+
rust: [stable]
20
20
+
21
21
+
steps:
22
22
+
- uses: actions/checkout@v4
23
23
+
24
24
+
- name: Install Rust
25
25
+
uses: dtolnay/rust-toolchain@stable
26
26
+
with:
27
27
+
toolchain: ${{ matrix.rust }}
28
28
+
components: rustfmt, clippy
29
29
+
30
30
+
- name: Cache dependencies
31
31
+
uses: actions/cache@v4
32
32
+
with:
33
33
+
path: |
34
34
+
~/.cargo/registry
35
35
+
~/.cargo/git
36
36
+
target
37
37
+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
38
38
+
39
39
+
- name: Check formatting
40
40
+
run: cargo fmt --all -- --check
41
41
+
42
42
+
- name: Run Clippy
43
43
+
run: cargo clippy --all-targets --all-features -- -D warnings
44
44
+
45
45
+
- name: Run tests
46
46
+
run: cargo test --all-features
47
47
+
48
48
+
- name: Run doc tests
49
49
+
run: cargo test --doc
50
50
+
51
51
+
minimum-rust-version:
52
52
+
name: Check MSRV
53
53
+
runs-on: ubuntu-latest
54
54
+
steps:
55
55
+
- uses: actions/checkout@v4
56
56
+
57
57
+
- name: Install minimum Rust version
58
58
+
uses: dtolnay/rust-toolchain@stable
59
59
+
with:
60
60
+
toolchain: "1.85" # Based on your Cargo.toml
61
61
+
62
62
+
- name: Check compilation
63
63
+
run: cargo check --all-features