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

[ticket/16889] Run functional tests separately

PHPBB3-16889
This commit is contained in:
rxu 2021-10-17 13:22:46 +07:00 committed by Marc Alexander
parent b6e31e3664
commit d4cb357b26
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 4 additions and 5 deletions

View File

@ -6,6 +6,7 @@ on:
- 3.3.x
- master
- 'prep-release-*'
- 'ticket/*'
tags:
- 'release-*'
pull_request:
@ -530,9 +531,8 @@ jobs:
run: |
$postgreSqlSvc = Get-Service "postgresql*"
Set-Service $postgreSqlSvc.Name -StartupType manual
$postgreSqlSvc.Start()
try {
(Get-Service "postgresql*").Start()
$postgreSqlSvc.Start()
} catch {
$_ | select *
}
@ -545,4 +545,5 @@ jobs:
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
phpBB/vendor/bin/phpunit --configuration .github/phpunit-psql-windows-github.xml --verbose --stop-on-error --exclude-group functional
phpBB/vendor/bin/phpunit --configuration .github/phpunit-psql-windows-github.xml --verbose --stop-on-error --group functional

View File

@ -43,8 +43,6 @@ class phpbb_functional_extension_acp_test extends phpbb_functional_test_case
$this->purge_cache();
$this->get_db();
// Clear the phpbb_ext table
$this->db->sql_query('DELETE FROM phpbb_ext');