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:
parent
b6e31e3664
commit
d4cb357b26
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@ -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
|
||||
|
@ -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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user