diff --git a/.github/oxid-esales/cypress.sh b/.github/oxid-esales/cypress.sh old mode 100644 new mode 100755 index 70e93377..cb081476 --- a/.github/oxid-esales/cypress.sh +++ b/.github/oxid-esales/cypress.sh @@ -52,8 +52,8 @@ function run_docker_compose_up() { } # Set environment variables (example values; adjust as needed) -export CYPRESS_WORKDIR="/var/www/vendor/oxid-solution-catalysts/telecash-module/tests/e2e" -export CYPRESS_CONFIG="/var/www/vendor/oxid-solution-catalysts/telecash-module/tests/e2e/cypress.config.js" +export CYPRESS_WORKDIR="./source/www/vendor/oxid-solution-catalysts/telecash-module/tests/e2e" +export CYPRESS_CONFIG="./source/vendor/oxid-solution-catalysts/telecash-module/tests/e2e/cypress.config.js" # Inject the Cypress service and start the container add_cypress_service diff --git a/.github/workflows/trigger.yaml b/.github/workflows/trigger.yaml index 602e3a8e..b50bc73d 100644 --- a/.github/workflows/trigger.yaml +++ b/.github/workflows/trigger.yaml @@ -24,3 +24,21 @@ jobs: enterprise_github_token: ${{ secrets.enterprise_github_token }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + +custom_summary: + if: always() + needs: osc_telecash_php82_mysql_80 + runs-on: ubuntu-latest + steps: + - name: Generate a custom summary + run: | + echo "Custom Summary Step: Gathering results..." + chmod 775 ./source/vendor/oxid-solution-catalysts/telecash-module/.github/oxid-esales/cypress.sh + ./source/vendor/oxid-solution-catalysts/telecash-module/.github/oxid-esales/cypress.sh > cypress-output.txt + echo "Results summarized successfully!" + - name: Upload Custom Artifacts + if: always() + uses: actions/upload-artifact@v4 + with: + name: custom-summary + path: summary-output.txt