Skip to content

Commit d897568

Browse files
committed
Update Github Actions code for extensions tutorial
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent ec57730 commit d897568

File tree

1 file changed

+34
-16
lines changed

1 file changed

+34
-16
lines changed

development/extensions/tutorial_testing.rst

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -845,26 +845,26 @@ Copy the following into the ``tests.yml`` file:
845845
jobs:
846846
# START Basic Checks Job (EPV, code sniffer, images check, etc.)
847847
basic-checks:
848-
runs-on: ubuntu-18.04
848+
runs-on: ubuntu-20.04
849849
strategy:
850850
matrix:
851851
include:
852-
- php: '7.1'
852+
- php: '7.2'
853853
db: "none"
854854
NOTESTS: 1
855855
856856
name: PHP ${{ matrix.php }} - ${{ matrix.db }}
857857
858858
steps:
859859
- name: Checkout phpBB
860-
uses: actions/checkout@v2
860+
uses: actions/checkout@v3
861861
with:
862862
repository: phpbb/phpbb
863863
ref: ${{ env.PHPBB_BRANCH }}
864864
path: phpBB3
865865
866866
- name: Checkout extension
867-
uses: actions/checkout@v2
867+
uses: actions/checkout@v3
868868
with:
869869
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
870870
@@ -913,7 +913,7 @@ Copy the following into the ``tests.yml`` file:
913913
914914
# START MySQL and MariaDB Job
915915
mysql-tests:
916-
runs-on: ubuntu-18.04
916+
runs-on: ubuntu-20.04
917917
strategy:
918918
matrix:
919919
include:
@@ -945,6 +945,10 @@ Copy the following into the ``tests.yml`` file:
945945
db: "mysql:8.0"
946946
- php: '8.0'
947947
db: "mysql:5.7"
948+
- php: '8.1'
949+
db: "mysql:5.7"
950+
- php: '8.2'
951+
db: "mysql:5.7"
948952
949953
name: PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}
950954
@@ -974,14 +978,14 @@ Copy the following into the ``tests.yml`` file:
974978
975979
steps:
976980
- name: Checkout phpBB
977-
uses: actions/checkout@v2
981+
uses: actions/checkout@v3
978982
with:
979983
repository: phpbb/phpbb
980984
ref: ${{ env.PHPBB_BRANCH }}
981985
path: phpBB3
982986
983987
- name: Checkout extension
984-
uses: actions/checkout@v2
988+
uses: actions/checkout@v3
985989
with:
986990
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
987991
@@ -990,7 +994,7 @@ Copy the following into the ``tests.yml`` file:
990994
MATRIX_DB: ${{ matrix.db }}
991995
run: |
992996
db=$(echo "${MATRIX_DB%%:*}")
993-
echo "::set-output name=db::$db"
997+
echo "db=$db" >> $GITHUB_OUTPUT
994998
995999
- name: Setup PHP
9961000
uses: shivammathur/setup-php@v2
@@ -1027,7 +1031,7 @@ Copy the following into the ``tests.yml`` file:
10271031
10281032
# START PostgreSQL Job
10291033
postgres-tests:
1030-
runs-on: ubuntu-18.04
1034+
runs-on: ubuntu-20.04
10311035
strategy:
10321036
matrix:
10331037
include:
@@ -1043,6 +1047,20 @@ Copy the following into the ``tests.yml`` file:
10431047
db: "postgres:12"
10441048
- php: '7.1'
10451049
db: "postgres:13"
1050+
- php: '7.2'
1051+
db: "postgres:13"
1052+
- php: '7.3'
1053+
db: "postgres:13"
1054+
- php: '7.4'
1055+
db: "postgres:13"
1056+
- php: '8.0'
1057+
db: "postgres:12"
1058+
- php: '8.0'
1059+
db: "postgres:13"
1060+
- php: '8.1'
1061+
db: "postgres:14"
1062+
- php: '8.2'
1063+
db: "postgres:14"
10461064
10471065
name: PHP ${{ matrix.php }} - ${{ matrix.db }}
10481066
@@ -1074,14 +1092,14 @@ Copy the following into the ``tests.yml`` file:
10741092
10751093
steps:
10761094
- name: Checkout phpBB
1077-
uses: actions/checkout@v2
1095+
uses: actions/checkout@v3
10781096
with:
10791097
repository: phpbb/phpbb
10801098
ref: ${{ env.PHPBB_BRANCH }}
10811099
path: phpBB3
10821100
10831101
- name: Checkout extension
1084-
uses: actions/checkout@v2
1102+
uses: actions/checkout@v3
10851103
with:
10861104
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
10871105
@@ -1090,7 +1108,7 @@ Copy the following into the ``tests.yml`` file:
10901108
MATRIX_DB: ${{ matrix.db }}
10911109
run: |
10921110
db=$(echo "${MATRIX_DB%%:*}")
1093-
echo "::set-output name=db::$db"
1111+
echo "db=$db" >> $GITHUB_OUTPUT
10941112
10951113
- name: Setup PHP
10961114
uses: shivammathur/setup-php@v2
@@ -1127,7 +1145,7 @@ Copy the following into the ``tests.yml`` file:
11271145
11281146
# START Other Tests Job (SQLite 3 and mssql)
11291147
other-tests:
1130-
runs-on: ubuntu-18.04
1148+
runs-on: ubuntu-20.04
11311149
strategy:
11321150
matrix:
11331151
include:
@@ -1169,14 +1187,14 @@ Copy the following into the ``tests.yml`` file:
11691187
11701188
steps:
11711189
- name: Checkout phpBB
1172-
uses: actions/checkout@v2
1190+
uses: actions/checkout@v3
11731191
with:
11741192
repository: phpbb/phpbb
11751193
ref: ${{ env.PHPBB_BRANCH }}
11761194
path: phpBB3
11771195
11781196
- name: Checkout extension
1179-
uses: actions/checkout@v2
1197+
uses: actions/checkout@v3
11801198
with:
11811199
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
11821200
@@ -1190,7 +1208,7 @@ Copy the following into the ``tests.yml`` file:
11901208
else
11911209
db=$(echo "${MATRIX_DB%%:*}")
11921210
fi
1193-
echo "::set-output name=db::$db"
1211+
echo "db=$db" >> $GITHUB_OUTPUT
11941212
11951213
- name: Setup PHP
11961214
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)