Skip to content

Commit 0fe95fd

Browse files
committed
testing updates
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 7c09972 commit 0fe95fd

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/tests.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
# START Basic Checks Job (EPV, code sniffer, images check, etc.)
2323
basic-checks:
24-
runs-on: ubuntu-18.04
24+
runs-on: ubuntu-20.04
2525
strategy:
2626
matrix:
2727
include:
@@ -33,14 +33,14 @@ jobs:
3333

3434
steps:
3535
- name: Checkout phpBB
36-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
3737
with:
3838
repository: phpbb/phpbb
3939
ref: ${{ env.PHPBB_BRANCH }}
4040
path: phpBB3
4141

4242
- name: Checkout extension
43-
uses: actions/checkout@v2
43+
uses: actions/checkout@v3
4444
with:
4545
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
4646

@@ -89,7 +89,7 @@ jobs:
8989

9090
# START MySQL and MariaDB Job
9191
mysql-tests:
92-
runs-on: ubuntu-18.04
92+
runs-on: ubuntu-20.04
9393
strategy:
9494
matrix:
9595
include:
@@ -156,14 +156,14 @@ jobs:
156156

157157
steps:
158158
- name: Checkout phpBB
159-
uses: actions/checkout@v2
159+
uses: actions/checkout@v3
160160
with:
161161
repository: phpbb/phpbb
162162
ref: ${{ env.PHPBB_BRANCH }}
163163
path: phpBB3
164164

165165
- name: Checkout extension
166-
uses: actions/checkout@v2
166+
uses: actions/checkout@v3
167167
with:
168168
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
169169

@@ -172,7 +172,7 @@ jobs:
172172
MATRIX_DB: ${{ matrix.db }}
173173
run: |
174174
db=$(echo "${MATRIX_DB%%:*}")
175-
echo "::set-output name=db::$db"
175+
echo "db=$db" >> $GITHUB_OUTPUT
176176
177177
- name: Setup PHP
178178
if: ${{ matrix.COVERAGE != 1 }}
@@ -233,14 +233,14 @@ jobs:
233233

234234
- name: Send code coverage
235235
if: ${{ matrix.COVERAGE == 1 }}
236-
uses: codecov/codecov-action@v1
236+
uses: codecov/codecov-action@v3
237237
with:
238-
file: ./phpBB3/build/logs/clover.xml
238+
files: ./phpBB3/build/logs/clover.xml
239239
# END MySQL and MariaDB Job
240240

241241
# START PostgreSQL Job
242242
postgres-tests:
243-
runs-on: ubuntu-18.04
243+
runs-on: ubuntu-20.04
244244
strategy:
245245
matrix:
246246
include:
@@ -301,14 +301,14 @@ jobs:
301301

302302
steps:
303303
- name: Checkout phpBB
304-
uses: actions/checkout@v2
304+
uses: actions/checkout@v3
305305
with:
306306
repository: phpbb/phpbb
307307
ref: ${{ env.PHPBB_BRANCH }}
308308
path: phpBB3
309309

310310
- name: Checkout extension
311-
uses: actions/checkout@v2
311+
uses: actions/checkout@v3
312312
with:
313313
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
314314

@@ -317,7 +317,7 @@ jobs:
317317
MATRIX_DB: ${{ matrix.db }}
318318
run: |
319319
db=$(echo "${MATRIX_DB%%:*}")
320-
echo "::set-output name=db::$db"
320+
echo "db=$db" >> $GITHUB_OUTPUT
321321
322322
- name: Setup PHP
323323
uses: shivammathur/setup-php@v2
@@ -354,7 +354,7 @@ jobs:
354354

355355
# START Other Tests Job (SQLite 3 and mssql)
356356
other-tests:
357-
runs-on: ubuntu-18.04
357+
runs-on: ubuntu-20.04
358358
strategy:
359359
matrix:
360360
include:
@@ -396,14 +396,14 @@ jobs:
396396

397397
steps:
398398
- name: Checkout phpBB
399-
uses: actions/checkout@v2
399+
uses: actions/checkout@v3
400400
with:
401401
repository: phpbb/phpbb
402402
ref: ${{ env.PHPBB_BRANCH }}
403403
path: phpBB3
404404

405405
- name: Checkout extension
406-
uses: actions/checkout@v2
406+
uses: actions/checkout@v3
407407
with:
408408
path: phpBB3/phpBB/ext/${{ env.EXTNAME }}
409409

@@ -417,7 +417,7 @@ jobs:
417417
else
418418
db=$(echo "${MATRIX_DB%%:*}")
419419
fi
420-
echo "::set-output name=db::$db"
420+
echo "db=$db" >> $GITHUB_OUTPUT
421421
422422
- name: Setup PHP
423423
uses: shivammathur/setup-php@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ A phpBB official extension that allows administrators to easily add Google Analy
3131
* Translations should be posted to the [Google Analytics topic at phpBB.com](https://www.phpbb.com/customise/db/extension/googleanalytics/support/topic/130756). We accept pull requests for translation corrections, but we do not accept pull requests for new translations.
3232

3333
## License
34-
[GNU General Public License v2](http://opensource.org/licenses/GPL-2.0)
34+
[GNU General Public License v2](https://opensource.org/licenses/GPL-2.0)

0 commit comments

Comments
 (0)