mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-29 12:43:15 +01:00
[ticket/16659] First test run with all current tests
PHPBB3-16659
This commit is contained in:
parent
4729be9e96
commit
d6e1989e1f
70
.github/workflows/tests.yml
vendored
70
.github/workflows/tests.yml
vendored
@ -17,42 +17,43 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- php: 7.1
|
||||
- php: '7.1'
|
||||
db: "none"
|
||||
NOTESTS: 1
|
||||
- php: 7.1
|
||||
- php: '7.1'
|
||||
db: "mariadb:10.1"
|
||||
# - php: 7.1
|
||||
# db: "mariadb:10.2"
|
||||
# - php: 7.1
|
||||
# db: "mariadb:10.3"
|
||||
# - php: 7.1
|
||||
# db: "mariadb:10.4"
|
||||
# - php: 7.1
|
||||
# db: "mariadb:10.5"
|
||||
# - php: 7.1
|
||||
# db: "postgres:9.5"
|
||||
# - php: 7.1
|
||||
# db: "postgres:10"
|
||||
# - php: 7.1
|
||||
# db: "postgres:11"
|
||||
# - php: 7.1
|
||||
# db: "postgres:12"
|
||||
# - php: 7.1
|
||||
# db: "postgres:13"
|
||||
# - php: 7.1
|
||||
# db: "sqlite3"
|
||||
# - php: 7.1
|
||||
# db: "mysql:5.6"
|
||||
# - php: 7.1
|
||||
# db: "mysql:5.7"
|
||||
# - php: 7.2
|
||||
# db: "mysql:5.7"
|
||||
# - php: 7.3
|
||||
# db: "mysql:5.7"
|
||||
# - php: 7.4
|
||||
# db: "mysql:5.7"
|
||||
- php: 7.4
|
||||
- php: '7.1'
|
||||
db: "mariadb:10.2"
|
||||
- php: '7.1'
|
||||
db: "mariadb:10.3"
|
||||
- php: '7.1'
|
||||
db: "mariadb:10.4"
|
||||
- php: '7.1'
|
||||
db: "mariadb:10.5"
|
||||
- php: '7.1'
|
||||
db: "postgres:9.5"
|
||||
- php: '7.1'
|
||||
db: "postgres:10"
|
||||
- php: '7.1'
|
||||
db: "postgres:11"
|
||||
- php: '7.1'
|
||||
db: "postgres:12"
|
||||
- php: '7.1'
|
||||
db: "postgres:13"
|
||||
- php: '7.1'
|
||||
db: "sqlite3"
|
||||
- php: '7.1'
|
||||
db: "mysql:5.6"
|
||||
MYISAM: 1
|
||||
- php: '7.1'
|
||||
db: "mysql:5.7"
|
||||
- php: '7.2'
|
||||
db: "mysql:5.7"
|
||||
- php: '7.3'
|
||||
db: "mysql:5.7"
|
||||
- php: '7.4'
|
||||
db: "mysql:5.7"
|
||||
- php: '7.4'
|
||||
db: "mysql:8.0"
|
||||
- php: '8.0'
|
||||
db: "mysql:5.7"
|
||||
@ -132,8 +133,9 @@ jobs:
|
||||
DB: ${{steps.database-type.outputs.db}}
|
||||
PHP_VERSION: ${{ matrix.php }}
|
||||
NOTESTS: ${{ matrix.NOTESTS != 1 && '0' || '1' }}
|
||||
MYISAM: ${{ matrix.MYISAM != 1 && '0' || '1' }}
|
||||
run: |
|
||||
travis/setup-database.sh $DB $PHP_VERSION $NOTESTS
|
||||
travis/setup-database.sh $DB $PHP_VERSION $NOTESTS $MYISAM
|
||||
|
||||
- name: Phing sniff
|
||||
env:
|
||||
|
@ -14,6 +14,7 @@ set -x
|
||||
DB=$1
|
||||
TRAVIS_PHP_VERSION=$2
|
||||
NOTESTS=$3
|
||||
MYISAM=$4
|
||||
|
||||
if [ "$NOTESTS" == '1' ]
|
||||
then
|
||||
@ -26,7 +27,7 @@ then
|
||||
psql -c 'create database phpbb_tests;' -U postgres
|
||||
fi
|
||||
|
||||
if [ "$TRAVIS_PHP_VERSION" == "5.6" -a "$DB" == "mysql" ]
|
||||
if [ "$MYISAM" == '1' ]
|
||||
then
|
||||
mysql -e 'SET GLOBAL storage_engine=MyISAM;'
|
||||
mysql -h 127.0.0.1 -u root -e 'SET GLOBAL storage_engine=MyISAM;'
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user