Skip to content

Commit

Permalink
fixes CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nojimage committed Sep 2, 2022
1 parent 953de48 commit 4889a08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ jobs:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ steps.key-date.outputs.date }}-${{ hashFiles('composer.json') }}-${{ matrix.prefer-lowest }}

- name: Install packages
run: |
sudo locale-gen da_DK.UTF-8
sudo locale-gen de_DE.UTF-8
- name: Change CakePHP version
run: |
composer require cakephp/cakephp:${{ matrix.cakephp-version }}
Expand Down
2 changes: 2 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php
declare(strict_types=1);

use Cake\Cache\Cache;
use Cake\I18n\FrozenTime;
use Cake\I18n\Time;

Expand Down Expand Up @@ -30,6 +31,7 @@
chdir($root);
require $root . '/vendor/cakephp/cakephp/tests/bootstrap.php';

Cache::clearAll();
FrozenTime::setJsonEncodeFormat('yyyy-MM-dd\'T\'HH:mm:ssxxx');
Time::setJsonEncodeFormat('yyyy-MM-dd\'T\'HH:mm:ssxxx');

Expand Down

0 comments on commit 4889a08

Please sign in to comment.