Skip to content

Commit d701a9e

Browse files
committed
Update to PHP 8.4 #KDS-604
1 parent 0a2ad75 commit d701a9e

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/test.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Codeception tests
22

3-
on: [push]
3+
on: [ push ]
44

55
jobs:
66
build:
@@ -11,18 +11,18 @@ jobs:
1111
strategy:
1212
matrix:
1313
operating-system: [ ubuntu-latest, ubuntu-20.04 ]
14-
php: [ '8.0', '8.1' ]
14+
php: [ '8.0', '8.1', '8.1' ]
1515

1616
steps:
1717
- uses: actions/checkout@master
1818

19-
- name: Setup PHP
20-
uses: nanasess/setup-php@master
19+
- name: Setup PHP Action
20+
uses: shivammathur/setup-php@master
2121
with:
2222
php-version: ${{ matrix.php }}
2323

2424
- name: Install dependencies
2525
run: composer install
2626

2727
- name: Run tests
28-
run: php vendor/bin/codecept run
28+
run: composer run test

composer.json

+3
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,8 @@
2121
"nyholm/psr7": "^1.5",
2222
"codeception/codeception": "^5",
2323
"codeception/module-asserts": "^3.0"
24+
},
25+
"scripts": {
26+
"test": "codecept run"
2427
}
2528
}

0 commit comments

Comments
 (0)