Skip to content

Commit d6f425c

Browse files
authored
Upgrade to php 8.4 (#12)
* Added test script to composer.json #KDS-574 * Added php 8.4 to CI #KDS-574
1 parent 02e86b8 commit d6f425c

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
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.4' ]
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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,8 @@
3434
"Kodus\\Cache\\Test\\": "tests/",
3535
"Kodus\\Cache\\Test\\Unit\\": "tests/unit/"
3636
}
37+
},
38+
"scripts": {
39+
"test": "codecept run"
3740
}
3841
}

0 commit comments

Comments
 (0)