From 564e28e2ca3749039b200c899b2578d535db3971 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 9 Apr 2024 09:45:01 -0500 Subject: [PATCH] Add tests to Windows Defender exclusions --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5aabf16a..d70871950 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,11 @@ jobs: with: tool: cargo-nextest + - if: ${{ matrix.os == 'windows' }} + run: | + powershell -Command Add-MpPreference -ExclusionPath "~/.cargo/bin" + powershell -Command Add-MpPreference -ExclusionPath "$pwd" + - if: ${{ matrix.os != 'windows' }} uses: rui314/setup-mold@v1