1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-17 22:28:46 +01:00

[ticket/16889] Disable anti spyware in windows CI builds

PHPBB3-16889
This commit is contained in:
Marc Alexander 2021-10-11 20:49:31 +02:00
parent 0a4d062e16
commit b6e31e3664
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -542,6 +542,7 @@ jobs:
psql -c 'create database phpbb_tests;' -U postgres
Set-MpPreference -ExclusionPath "${env:PGDATA}" # Exclude PGDATA directory from Windows Defender
Set-MpPreference -DisableRealtimeMonitoring $true
New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender" -Name DisableAntiSpyware -Value 1 -PropertyType DWORD -Force
- name: Run unit tests
run: |
phpBB/vendor/bin/phpunit --configuration .github/phpunit-psql-windows-github.xml --verbose --stop-on-error