-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chris Nizzardini
committed
Jan 11, 2024
1 parent
7068719
commit 038f3c7
Showing
2 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Pull Request | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '8.1' | ||
extensions: mbstring, intl | ||
- name: PHP Version | ||
run: php -v | ||
- name: Install | ||
run: | | ||
composer self-update | ||
rm -rf composer.lock | ||
composer require cakephp/cakephp:${{matrix.version}} --no-update | ||
composer install --prefer-dist --no-progress | ||
- name: Test Suite | ||
run: | | ||
composer test | ||
- name: Elastic Search Integration Test | ||
env: | ||
elastic_dsn: Cake\ElasticSearch\Datasource\Connection://127.0.0.1:${{ job.services.elasticsearch.ports['9200'] }}?driver=Cake\ElasticSearch\Datasource\Connection | ||
run: | | ||
composer self-update | ||
rm -rf composer.lock | ||
composer require cakephp/cakephp:${{matrix.version}} --no-update | ||
composer install --prefer-dist --no-progress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters