From 04f936dd1e9db494dfc9ea0eb62bbcd38aaef438 Mon Sep 17 00:00:00 2001 From: Drew Thomas Date: Mon, 19 May 2025 17:02:44 +1000 Subject: [PATCH] CI: fix typo causing only ignored tests to run in CI This change fixes up a typo in the test workflow in CI that's causing only ignored tests to run. Confusingly, `--ignored` runs *only* ignored tests, but `--include-ignored` runs tests whether they're ignored or not. `--include-ignored` is probably what we want. Even more confusingly, the `--ignored` and `--include-ignored` flags don't seem to be well documented, but it is mentioned in The Book here: https://doc.rust-lang.org/book/ch11-02-running-tests.html#ignoring-some-tests-unless-specifically-requested. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea068e2c..3cd3b68d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: toolchain: stable - name: "Run tests" - run: cargo test --all-targets -- --ignored + run: cargo test --all-targets -- --include-ignored env: CS_WORKSPACE_ID: ${{ secrets.CS_WORKSPACE_ID }} CS_CLIENT_ACCESS_KEY: ${{ secrets.CS_CLIENT_ACCESS_KEY }}