Compare commits
2 Commits
045ff818bd
...
b060de20c7
Author | SHA1 | Date | |
---|---|---|---|
b060de20c7 | |||
bc7ec50c94 |
14
.github/workflows/test.yaml
vendored
14
.github/workflows/test.yaml
vendored
@ -8,8 +8,8 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
name: Setup
|
||||
tests:
|
||||
name: AoC 2024
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -45,10 +45,7 @@ jobs:
|
||||
cargo aoc input --year 2024 --day $i
|
||||
fi
|
||||
done
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: Test and Lint
|
||||
steps:
|
||||
|
||||
- name: cargo test
|
||||
run: cargo test --lib --all-features
|
||||
|
||||
@ -57,9 +54,6 @@ jobs:
|
||||
|
||||
- name: clippy
|
||||
run: cargo clippy --lib --all-features --tests -- -D warnings
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
name: Full run
|
||||
steps:
|
||||
|
||||
- name: full run
|
||||
run: cargo run --release
|
||||
|
@ -89,7 +89,7 @@ pub fn part2(input: &str) -> IntType {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
pub const EXAMPLE: &str = &"125 17";
|
||||
pub const EXAMPLE: &str = "125 17";
|
||||
|
||||
#[test]
|
||||
fn part1_example() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user