Skip to content

Changed github action for setting up php #KDS-538 #9

Changed github action for setting up php #KDS-538

Changed github action for setting up php #KDS-538 #9

Workflow file for this run

name: Codeception tests
on: [ push ]
jobs:
build:
name: ${{matrix.operating-system}}, PHP ${{ matrix.php }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ ubuntu-latest, ubuntu-20.04 ]
php: [ '8.0', '8.1', '8.4' ]
steps:
- uses: actions/checkout@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: composer run test