Compare commits

..

1 Commits

Author SHA1 Message Date
045ff818bd
CI: get real inputs, and do a full run
Some checks failed
test / Setup (push) Successful in 2m19s
test / Test and Lint (push) Failing after 15s
test / Full run (push) Failing after 14s
2024-12-13 23:41:45 -08:00
2 changed files with 49 additions and 43 deletions

View File

@ -8,8 +8,8 @@ env:
CARGO_TERM_COLOR: always
jobs:
tests:
name: AoC 2024
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@ -45,7 +45,10 @@ 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
@ -54,6 +57,9 @@ 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

View File

@ -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() {