1
0
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:
Marc Alexander 2023-09-22 11:07:41 +02:00
parent 89a4102eda
commit 1ee4d8387b
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995
2 changed files with 3 additions and 17 deletions

View File

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

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