1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-13 04:13:29 +02:00

[ticket/16889] Improve antivirus behavior in windows CI builds

PHPBB3-16889
This commit is contained in:
Marc Alexander 2021-10-10 20:45:50 +02:00
parent 1fbb807cc7
commit dda2dfecb3
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -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