Skip to content

Day 10 part 1 & 2 (#23) #88

Day 10 part 1 & 2 (#23)

Day 10 part 1 & 2 (#23) #88

Workflow file for this run

name: Run tests
on:
push:
pull_request:
branches:
- master
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
php: [ 8.1, 8.2, 8.3 ]
os: [ ubuntu-latest ]
year: [ 2015, 2018, 2019, 2020, 2021, 2022, 2023 ]
name: PHP ${{ matrix.php }} - Unit Tests for Year ${{ matrix.year }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, intl
- name: Install dependencies
run: |
composer update --prefer-dist --no-interaction
- name: Run tests
run: vendor/bin/phpunit ${{ matrix.year }}