Skip to content

Bump phpunit/phpunit from 10.4.2 to 10.5.10 #108

Bump phpunit/phpunit from 10.4.2 to 10.5.10

Bump phpunit/phpunit from 10.4.2 to 10.5.10 #108

Workflow file for this run

name: "Build and Test"
on: [pull_request]
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
php-versions: ["8.1", "8.2"]
name: PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl
coverage: "xdebug"
# ini-values: post_max_size=256M, short_open_tag=On #optional, setup php.ini configuration
# coverage: xdebug #optional, setup coverage driver
# tools: php-cs-fixer, phpunit #optional, setup tools globally
- name: Validate composer.json and composer.lock
run: composer validate
- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: make test
env:
SCANII_CREDS: ${{ secrets.SCANII_CREDS }}