Skip to content

Fix, Provider\Germany: Pentecost is not an official holiday - except in Brandenburg #523

Fix, Provider\Germany: Pentecost is not an official holiday - except in Brandenburg

Fix, Provider\Germany: Pentecost is not an official holiday - except in Brandenburg #523

Workflow file for this run

name: "Testing"
on:
- push
- pull_request
jobs:
run:
name: "CI"
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, windows-latest]
php-versions: ["8.0", "8.1", "8.2", "8.3"]
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: pcov
extensions: intl, calendar
- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache Composer dependencies
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: Check Composer configuration
run: composer validate --strict
- name: Install dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Run unit tests
run: vendor/bin/phpunit --coverage-clover=build/logs/clover.xml