Skip to content

Commit

Permalink
何故か変数展開されない
Browse files Browse the repository at this point in the history
  • Loading branch information
chihiro-adachi committed Dec 4, 2023
1 parent 9334533 commit 8b3687f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ jobs:
GROUP: ${{ matrix.group }}
SYMFONY_DEPRECATIONS_HELPER: weak
continue-on-error: true
run: php -dpcov.enabled=1 vendor/bin/codecept -vvv run acceptance --env chrome,github_action -g ${GROUP} --skip-group excludeCoverage --coverage --coverage-xml
run: |
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
php -dpcov.enabled=1 vendor/bin/codecept -vvv run acceptance --env chrome,github_action -g ${GROUP} --skip-group excludeCoverage --coverage --coverage-xml
- name: Upload outputs
uses: actions/upload-artifact@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ jobs:
SYMFONY_DEPRECATIONS_HELPER: weak
run: |
echo "APP_ENV=${APP_ENV}" > .env
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action_docker.yml
vendor/bin/codecept -vvv run acceptance --env chrome,github_action_docker -g ${GROUP}
## see https://docs.github.com/ja/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#publishing-a-package-using-an-action

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/e2e-test-throttling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ jobs:
ECCUBE_PACKAGE_API_URL: 'http://127.0.0.1:8080'
METHOD: ${{ matrix.method }}
SYMFONY_DEPRECATIONS_HELPER: weak
run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EF09ThrottlingCest::${METHOD} --html report.html
run: |
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EF09ThrottlingCest::${METHOD} --html report.html
- name: Upload evidence
if: failure()
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ jobs:
ECCUBE_PACKAGE_API_URL: 'http://127.0.0.1:8080'
GROUP: ${{ matrix.group }}
SYMFONY_DEPRECATIONS_HELPER: weak
run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action -g ${GROUP} --skip-group restrict-file-upload --html report.html
run: |
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
vendor/bin/codecept -vvv run acceptance --env chrome,github_action -g ${GROUP} --skip-group restrict-file-upload --html report.html
- name: Codeception with Restrict file upload
if: ${{ matrix.group == 'restrict-fileupload' }}
Expand All @@ -143,7 +145,9 @@ jobs:
GROUP: ${{ matrix.group }}
SYMFONY_DEPRECATIONS_HELPER: weak
ECCUBE_RESTRICT_FILE_UPLOAD: '1'
run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action -g ${GROUP} --html report.html
run: |
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
vendor/bin/codecept -vvv run acceptance --env chrome,github_action -g ${GROUP} --html report.html
- name: Upload evidence
if: failure()
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,9 @@ jobs:
METHOD: ${{ matrix.method }}
ECCUBE_PACKAGE_API_URL: 'http://127.0.0.1:8080'
NO_FIXTURES: 1
run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
run: |
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -284,7 +286,9 @@ jobs:
METHOD: ${{ matrix.method }}
ECCUBE_PACKAGE_API_URL: 'http://127.0.0.1:8080'
NO_FIXTURES: 1
run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
run: |
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -431,7 +435,9 @@ jobs:
METHOD: ${{ matrix.method }}
ECCUBE_PACKAGE_API_URL: 'http://127.0.0.1:8080'
NO_FIXTURES: 1
run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
run: |
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -581,7 +587,9 @@ jobs:
METHOD: ${{ matrix.method }}
ECCUBE_PACKAGE_API_URL: 'http://127.0.0.1:8080'
NO_FIXTURES: 1
run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
run: |
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vaddy-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
chromeOptions:
args: ["--headless", "--disable-gpu"]
prefs:
download.default_directory: '%PWD%/codeception/_support/_downloads'
download.default_directory: '${GITHUB_WORKSPACE}/codeception/_support/_downloads'
MailCatcher:
url: 'mail'
port: 1080" > codeception/_envs/local.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vaddy-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
chromeOptions:
args: ["--headless", "--disable-gpu"]
prefs:
download.default_directory: '%PWD%/codeception/_support/_downloads'
download.default_directory: '${GITHUB_WORKSPACE}/codeception/_support/_downloads'
MailCatcher:
url: 'mail'
port: 1080" > codeception/_envs/local.yml
Expand Down

0 comments on commit 8b3687f

Please sign in to comment.