Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codeception は GitHub Actions でインストールするように変更 #488

Merged
merged 6 commits into from
Oct 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,12 @@ jobs:
- name: Install to Composer
run: |
composer install --no-interaction -o
composer remove php5friends/codeception-phpunit48-wrapper --ignore-platform-reqs --dev
composer require php5friends/codeception-phpunit48-wrapper ">=6.0.20" --dev
composer require captbaritone/mailcatcher-codeception-module "1.2.1" --dev
composer require codeception/codeception "*" --dev
composer remove php5friends/codeception-phpunit48-wrapper --dev
composer remove php5friends/phpunit48 --ignore-platform-reqs --dev

- name: Create ADMIN_DIR
run: |
sudo apt-fast install -y sharutils
Expand Down
20 changes: 14 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-

- name: Install to Composer
run: |
composer install --no-interaction -o
composer require php5friends/codeception-phpunit48-wrapper ">=6.0.20" --dev
composer require captbaritone/mailcatcher-codeception-module "1.2.1" --dev
composer require codeception/codeception "*" --dev

- name: Setup PHP
uses: nanasess/setup-php@master
with:
Expand All @@ -96,8 +103,6 @@ jobs:
symfony local:php:list
symfony server:ca:install

- name: Install to Composer
run: composer install --no-interaction -o
- name: Create ADMIN_DIR
run: |
sudo apt-fast install -y sharutils
Expand Down Expand Up @@ -299,6 +304,13 @@ jobs:
restore-keys: |
${{ runner.os }}-composer-

- name: Install to Composer
run: |
composer install --no-interaction -o
composer require php5friends/codeception-phpunit48-wrapper ">=6.0.20" --dev
composer require captbaritone/mailcatcher-codeception-module "1.2.1" --dev
composer require codeception/codeception "*" --dev

- name: Setup PHP
uses: nanasess/setup-php@master
with:
Expand All @@ -322,10 +334,6 @@ jobs:
symfony local:php:list
symfony server:ca:install


- name: Install to Composer
run: composer install --no-interaction -o

- name: setup-chromedriver
uses: nanasess/setup-chromedriver@master

Expand Down
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,16 @@
}
},
"require-dev": {
"captbaritone/mailcatcher-codeception-module": "1.2.1",
"codeception/codeception": "*",
"fzaninotto/faker": "^1.8",
"php5friends/codeception-phpunit48-wrapper": ">=6.0.20",
"guzzlehttp/guzzle": "^5.3",
"php5friends/phpunit48": ">=4.8.41"
},
"require": {
"php": ">=5.4.16",
"ext-gd": "*",
"ext-mbstring": "*",
"bondas83/mdb2_driver_mysqli": "^1.5",
"mobiledetect/mobiledetectlib": "^2.8",
"nanasess/mdb2_driver_mysqli": "^1.5",
"nanasess/mdb2_driver_pgsql": "^1.5",
"nanasess/php8-compat": "^1.0",
"pear/archive_tar": "^1.4.3",
Expand Down
Loading