Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix CI

Fix CI #161

Workflow file for this run

name:CI
on:[push, pull_request]
jobs:
tests:
runs-on:ubuntu-latest
strategy:
matrix:
php:[7.4, 8.0]
laravel:[6, 8]
steps:
-name:Checkout code
uses:actions/checkout@v3
-name:Setup PHP
uses:shivammathur/setup-php@v2
with:
php-version:${{ matrix.php }}
tools:composer:v2
extensions:ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite
coverage:none
-name:Checkout Laravel 6 Sample
if:matrix.laravel == 6
uses:actions/checkout@v3
with:
repository:codeception/laravel-module-tests
path:framework-tests
ref:6.x
-name:Checkout Laravel 8 Sample
if:matrix.laravel == 8
uses:actions/checkout@v3
with:
repository:codeception/laravel-module-tests
path:framework-tests
ref:main
-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 }}-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
restore-keys:${{ runner.os }}-${{ matrix.php }}-composer-
-name:Install dependencies
run:|
composer require laravel/framework=${{ matrix.laravel }} --no-update
composer install --prefer-dist --no-progress
-name:Validate composer.json and composer.lock
run:composer validate
working-directory:framework-tests
-name:Install Laravel Sample
run:|
composer remove codeception/module-laravel --dev --no-update
composer install --no-progress
working-directory:framework-tests
-name:Prepare the test environment and run test suite
run:|
cp .env.testing .env
php artisan config:cache
touch database/database.sqlite
php artisan migrate --seed --env=testing --force
working-directory:framework-tests
-name:Run test suite
run:php vendor/bin/codecept run Functional -c framework-tests

[8]ページ先頭

©2009-2025 Movatter.jp