Skip to content

Merge pull request #18 from whitecube/bump-deps #68

Merge pull request #18 from whitecube/bump-deps

Merge pull request #18 from whitecube/bump-deps #68

Workflow file for this run

name: run-tests
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
php: [8.4, 8.3, 8.2, 8.1]
dependency-version: [prefer-stable]
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Install locales
run: |
sudo locale-gen en_US.UTF-8
sudo locale-gen de_DE.UTF-8
sudo locale-gen fr_BE.UTF-8
sudo locale-gen en_GB.UTF-8
sudo update-locale
- name: List installed locales
run: locale -a
- name: Execute tests
run: ./vendor/bin/pest