mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-22 16:51:56 +02:00
[ticket/17193] Run unit tests on single runners again
PHPBB3-17193
This commit is contained in:
parent
89a4102eda
commit
1ee4d8387b
18
.github/workflows/tests.yml
vendored
18
.github/workflows/tests.yml
vendored
@ -100,7 +100,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
type: ['unit', 'functional']
|
||||
php: ['8.1', '8.2', '8.3']
|
||||
db: [
|
||||
'mariadb:10.2',
|
||||
@ -116,12 +115,6 @@ jobs:
|
||||
'mysql:8.1'
|
||||
]
|
||||
include:
|
||||
- php: '8.1'
|
||||
db: 'mysql:5.7'
|
||||
type: 'unit'
|
||||
- php: '8.1'
|
||||
db: 'mysql:5.7'
|
||||
type: 'functional'
|
||||
- php: '8.1'
|
||||
db: "mysql:5.7"
|
||||
db_alias: "MySQL Slow Tests"
|
||||
@ -223,16 +216,9 @@ jobs:
|
||||
- name: Run unit tests
|
||||
env:
|
||||
DB: ${{steps.database-type.outputs.db}}
|
||||
if: ${{ matrix.SLOWTESTS != 1 && matrix.NOTESTS != 1 && matrix.type == 'unit' }}
|
||||
if: ${{ matrix.SLOWTESTS != 1 && matrix.NOTESTS != 1 }}
|
||||
run: |
|
||||
phpBB/vendor/bin/phpunit --configuration .github/phpunit-$DB-github.xml --verbose --stop-on-error --exclude-group functional,slow
|
||||
|
||||
- name: Run functional tests
|
||||
env:
|
||||
DB: ${{steps.database-type.outputs.db}}
|
||||
if: ${{ matrix.SLOWTESTS != 1 && matrix.NOTESTS != 1 && matrix.type == 'functional' }}
|
||||
run: |
|
||||
phpBB/vendor/bin/phpunit --configuration .github/phpunit-$DB-github.xml --verbose --stop-on-error --group functional
|
||||
phpBB/vendor/bin/phpunit --configuration .github/phpunit-$DB-github.xml --verbose --stop-on-error
|
||||
|
||||
- name: Slow tests
|
||||
env:
|
||||
|
2
phpBB/composer.lock
generated
2
phpBB/composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "0c305d521f2db3eec61dcef5b8359047",
|
||||
"content-hash": "fec6e6e713d3e0d587befaede71cc570",
|
||||
"packages": [
|
||||
{
|
||||
"name": "bantu/ini-get-wrapper",
|
||||
|
Loading…
x
Reference in New Issue
Block a user