Skip to content

Commit

Permalink
Upgrade to php 8.4 (#12)
Browse files Browse the repository at this point in the history
* Added test script to composer.json #KDS-574

* Added php 8.4 to CI #KDS-574
  • Loading branch information
vortrixs authored Jan 9, 2025
1 parent 02e86b8 commit d6f425c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Codeception tests

on: [push]
on: [ push ]

jobs:
build:
Expand All @@ -11,18 +11,18 @@ jobs:
strategy:
matrix:
operating-system: [ ubuntu-latest, ubuntu-20.04 ]
php: [ '8.0', '8.1' ]
php: [ '8.0', '8.1', '8.4' ]

steps:
- uses: actions/checkout@master

- name: Setup PHP
uses: nanasess/setup-php@master
- name: Setup PHP Action
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}

- name: Install dependencies
run: composer install

- name: Run tests
run: php vendor/bin/codecept run
run: composer run test
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@
"Kodus\\Cache\\Test\\": "tests/",
"Kodus\\Cache\\Test\\Unit\\": "tests/unit/"
}
},
"scripts": {
"test": "codecept run"
}
}

0 comments on commit d6f425c

Please sign in to comment.