From f2186d18d34aa8e5fd03837c2573b0309c6db787 Mon Sep 17 00:00:00 2001 From: Keenan Tims Date: Sun, 15 Dec 2024 01:05:57 -0800 Subject: [PATCH] ci: allow test failures, fix input getting script mistake --- .github/workflows/test.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 24506c7..dcae391 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -41,19 +41,23 @@ jobs: cargo aoc credentials ${{ secrets.AOC_SESSION }} for i in $(seq 1 25); do dayfmt=$(printf %02d $i) - if [${{ steps.date.outputs.date }} -ge 202412${dayfmt}]; then + if [ ${{ steps.date.outputs.date }} -ge 202412${dayfmt} ]; then cargo aoc input --year 2024 --day $i fi done - name: cargo test - run: cargo test --lib --all-features + run: cargo test --lib + continue-on-error: true - name: rustfmt run: cargo fmt --all -- --check + continue-on-error: true - name: clippy - run: cargo clippy --lib --all-features --tests -- -D warnings + run: cargo clippy --lib --tests -- -D warnings + continue-on-error: true - name: full run run: cargo run --release + continue-on-error: true