From dda2dfecb31d85796958ee3b61d98904908ed1bb Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 10 Oct 2021 20:45:50 +0200 Subject: [PATCH] [ticket/16889] Improve antivirus behavior in windows CI builds PHPBB3-16889 --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bd2a5d93ca..2195ac2665 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -540,7 +540,8 @@ jobs: $env:PGPASSWORD = 'root' psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres psql -c 'create database phpbb_tests;' -U postgres - Add-MpPreference -ExclusionPath "${env:PGDATA}" # Exclude PGDATA directory from Windows Defender + Set-MpPreference -ExclusionPath "${env:PGDATA}" # Exclude PGDATA directory from Windows Defender + Set-MpPreference -DisableRealtimeMonitoring $true - name: Run unit tests run: | phpBB/vendor/bin/phpunit --configuration .github/phpunit-psql-windows-github.xml --verbose --stop-on-error