From 48f08eb1dd2998ae5823bfb8865f8d525f1ae061 Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Wed, 10 Jun 2020 09:19:45 +0900 Subject: [PATCH 1/2] =?UTF-8?q?E2E=E3=83=86=E3=82=B9=E3=83=88=E5=A4=B1?= =?UTF-8?q?=E6=95=97=E6=99=82=E3=81=AB=E3=82=A8=E3=83=93=E3=83=87=E3=83=B3?= =?UTF-8?q?=E3=82=B9=E3=82=92=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/action.yml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index d7817cce955..4e3af4dd6f4 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -2,7 +2,7 @@ name: CI/CD for EC-CUBE on: push: branches: - - 4.0 + - '*' tags: - '*' paths: @@ -208,6 +208,12 @@ jobs: GROUP: ${{ matrix.group }} SYMFONY_DEPRECATIONS_HELPER: weak run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action -g ${GROUP} + - name: Upload evidence + if: failure() + uses: actions/upload-artifact@v2 + with: + name: codeception-${{ matrix.group }}-evidence + path: codeception/_output/ plugin-install: name: Plugin install @@ -338,6 +344,12 @@ jobs: ECCUBE_PACKAGE_API_URL: 'http://localhost:8080' NO_FIXTURES: 1 run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD} + - name: Upload evidence + if: failure() + uses: actions/upload-artifact@v2 + with: + name: plugin-install-${{ matrix.method }}-evidence + path: codeception/_output/ plugin-update: name: Plugin Update @@ -467,6 +479,12 @@ jobs: ECCUBE_PACKAGE_API_URL: 'http://localhost:8080' NO_FIXTURES: 1 run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD} + - name: Upload evidence + if: failure() + uses: actions/upload-artifact@v2 + with: + name: plugin-update-${{ matrix.method }}-evidence + path: codeception/_output/ plugin-extend: name: Plugin extend @@ -596,6 +614,12 @@ jobs: ECCUBE_PACKAGE_API_URL: 'http://localhost:8080' NO_FIXTURES: 1 run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD} + - name: Upload evidence + if: failure() + uses: actions/upload-artifact@v2 + with: + name: plugin-extend-${{ matrix.method }}-evidence + path: codeception/_output/ plugin-depend: name: Plugin depend @@ -727,6 +751,12 @@ jobs: ECCUBE_PACKAGE_API_URL: 'http://localhost:8080' NO_FIXTURES: 1 run: vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD} + - name: Upload evidence + if: failure() + uses: actions/upload-artifact@v2 + with: + name: plugin-depend-${{ matrix.method }}-evidence + path: codeception/_output/ deploy: name: Deploy From a5a36179b4154cfa7b4d6cb95c9e4f7a452907ac Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Wed, 10 Jun 2020 10:08:06 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=E3=82=A8=E3=83=93=E3=83=87=E3=83=B3?= =?UTF-8?q?=E3=82=B9=E4=BF=9D=E5=AD=98=E5=BE=8C=E3=81=AB=E3=83=AD=E3=82=B0?= =?UTF-8?q?=E3=82=92=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/action.yml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 4e3af4dd6f4..075a8fabee3 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -2,7 +2,7 @@ name: CI/CD for EC-CUBE on: push: branches: - - '*' + - 4.0 tags: - '*' paths: @@ -214,6 +214,12 @@ jobs: with: name: codeception-${{ matrix.group }}-evidence path: codeception/_output/ + - name: Upload logs + if: failure() + uses: actions/upload-artifact@v2 + with: + name: codeception-${{ matrix.group }}-logs + path: var/log/ plugin-install: name: Plugin install @@ -350,6 +356,12 @@ jobs: with: name: plugin-install-${{ matrix.method }}-evidence path: codeception/_output/ + - name: Upload logs + if: failure() + uses: actions/upload-artifact@v2 + with: + name: plugin-install-${{ matrix.method }}-logs + path: var/log/ plugin-update: name: Plugin Update @@ -485,6 +497,12 @@ jobs: with: name: plugin-update-${{ matrix.method }}-evidence path: codeception/_output/ + - name: Upload logs + if: failure() + uses: actions/upload-artifact@v2 + with: + name: plugin-update-${{ matrix.method }}-logs + path: var/log/ plugin-extend: name: Plugin extend @@ -620,6 +638,12 @@ jobs: with: name: plugin-extend-${{ matrix.method }}-evidence path: codeception/_output/ + - name: Upload logs + if: failure() + uses: actions/upload-artifact@v2 + with: + name: plugin-extend-${{ matrix.method }}-logs + path: var/log/ plugin-depend: name: Plugin depend @@ -757,6 +781,12 @@ jobs: with: name: plugin-depend-${{ matrix.method }}-evidence path: codeception/_output/ + - name: Upload logs + if: failure() + uses: actions/upload-artifact@v2 + with: + name: plugin-depend-${{ matrix.method }}-logs + path: var/log/ deploy: name: Deploy