Skip to content

Commit 8c0710b

Browse files
authored
Upgrade to php 8.4 #KDS-594 (#9)
* Upgrade to php 8.4 #KDS-594 * Add github actions #KDS-594
1 parent 8976a47 commit 8c0710b

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Codeception tests
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: ${{matrix.operating-system}}, PHP ${{ matrix.php }}
8+
9+
runs-on: ${{ matrix.operating-system }}
10+
11+
strategy:
12+
matrix:
13+
operating-system: [ ubuntu-latest, ubuntu-20.04 ]
14+
php: [ '8.0', '8.1', '8.4' ]
15+
16+
steps:
17+
- uses: actions/checkout@master
18+
19+
- name: Setup PHP Action
20+
uses: shivammathur/setup-php@master
21+
with:
22+
php-version: ${{ matrix.php }}
23+
24+
- name: Install dependencies
25+
run: composer install
26+
27+
- name: Run tests
28+
run: composer run test

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,8 @@
2424
"psr-4": {
2525
"Kodus\\SQLSplit\\": "src/"
2626
}
27+
},
28+
"scripts": {
29+
"test": "codecept run"
2730
}
2831
}

0 commit comments

Comments
 (0)