File tree 2 files changed +18
-2
lines changed
2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 18
18
- uses : actions/checkout@v3
19
19
- name : Build
20
20
run : cargo build --verbose
21
- - name : Run tests
22
- run : cargo test --verbose
23
21
- name : Run doctests
24
22
run : cargo test --doc --verbose
23
+
24
+ - uses : dtolnay/rust-toolchain@stable
25
+ with :
26
+ components : llvm-tools-preview
27
+ - name : Install cargo-llvm-cov
28
+ uses : taiki-e/install-action@cargo-llvm-cov
29
+ - name : Install nextest
30
+ uses : taiki-e/install-action@nextest
31
+ - name : Generate code coverage
32
+ run : cargo llvm-cov nextest --all-features --workspace --lcov --output-path lcov.info
33
+ - name : Upload coverage to Codecov
34
+
35
+ with :
36
+ token : ${{ secrets.CODECOV_TOKEN }}
37
+ files : lcov.info
38
+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 1
1
# Sudoku Solver, take 2
2
2
3
+ [ ![ codecov] ( https://codecov.io/gh/sunsided/sudoku2-rs/graph/badge.svg?token=AZ7Q2JU140 )] ( https://codecov.io/gh/sunsided/sudoku2-rs )
4
+
3
5
Another take at Sudoku solving in Rust. This is a weekend-ish remake of my previous pet project
4
6
at [ sunsided/rust-sudoku-solver] ( https://github.com/sunsided/rust-sudoku-solver ) .
5
7
Unlike the previous experiment, this solver correctly solves Hypersudokus and requires fewer branches.
You can’t perform that action at this time.
0 commit comments