[ticket/16666] Exclude PGDATA directory in Windows Defender

PHPBB3-16666
This commit is contained in:
Marc Alexander 2021-01-06 09:01:55 +01:00
parent 53d966cd64
commit 9c39ad3ff4
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -524,6 +524,7 @@ 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
- name: Run unit tests
run: |
phpBB/vendor/bin/phpunit --configuration .github/phpunit-psql-windows-github.xml --verbose --stop-on-error