Set environment descriptions

This commit is contained in:
rodelgc 2023-03-17 20:16:01 +08:00
parent b95b9000ce
commit 9503868d71
1 changed files with 20 additions and 15 deletions

View File

@ -575,17 +575,23 @@ jobs:
include: include:
- plugin: 'WooCommerce Payments' - plugin: 'WooCommerce Payments'
repo: 'automattic/woocommerce-payments' repo: 'automattic/woocommerce-payments'
env_description: 'woocommerce-payments'
- plugin: 'WooCommerce PayPal Payments' - plugin: 'WooCommerce PayPal Payments'
repo: 'woocommerce/woocommerce-paypal-payments' repo: 'woocommerce/woocommerce-paypal-payments'
env_description: 'woocommerce-paypal-payments'
- plugin: 'WooCommerce Shipping & Tax' - plugin: 'WooCommerce Shipping & Tax'
repo: 'automattic/woocommerce-services' repo: 'automattic/woocommerce-services'
env_description: 'woocommerce-shipping-&-tax'
- plugin: 'WooCommerce Subscriptions' - plugin: 'WooCommerce Subscriptions'
repo: WC_SUBSCRIPTIONS_REPO repo: WC_SUBSCRIPTIONS_REPO
private: true private: true
env_description: 'woocommerce-subscriptions'
- plugin: 'WordPress SEO' # Yoast SEO in the UI, but the slug is wordpress-seo - plugin: 'WordPress SEO' # Yoast SEO in the UI, but the slug is wordpress-seo
repo: 'Yoast/wordpress-seo' repo: 'Yoast/wordpress-seo'
env_description: 'wordpress-seo'
- plugin: 'Contact Form 7' - plugin: 'Contact Form 7'
repo: 'takayukister/contact-form-7' repo: 'takayukister/contact-form-7'
env_description: 'contact-form-7'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -641,18 +647,17 @@ jobs:
destination-dir: ${{ env.ARTIFACT_NAME }} destination-dir: ${{ env.ARTIFACT_NAME }}
s3-bucket: ${{ secrets.REPORTS_BUCKET }} s3-bucket: ${{ secrets.REPORTS_BUCKET }}
# - name: Publish E2E Allure report - name: Publish E2E Allure report
# if: success() || ( failure() && steps.run-e2e-composite-action.conclusion == 'failure' ) if: success() || ( failure() && steps.run-e2e-composite-action.conclusion == 'failure' )
# env: env:
# GITHUB_TOKEN: ${{ secrets.REPORTS_TOKEN }} GITHUB_TOKEN: ${{ secrets.REPORTS_TOKEN }}
# ENV_DESCRIPTION: ${{ matrix.version.env_description }} run: |
# run: | gh workflow run publish-test-reports-release.yml \
# gh workflow run publish-test-reports-release.yml \ -f created_at="${{ needs.get-tag.outputs.created }}" \
# -f created_at="${{ needs.get-tag.outputs.created }}" \ -f run_id=${{ github.run_id }} \
# -f run_id=${{ github.run_id }} \ -f run_number=${{ github.run_number }} \
# -f run_number=${{ github.run_number }} \ -f release_tag=${{ needs.get-tag.outputs.tag }} \
# -f release_tag=${{ needs.get-tag.outputs.tag }} \ -f artifact="${{ env.ARTIFACT_NAME }}" \
# -f artifact="${{ env.E2E_WP_LATEST_X_ARTIFACT }}" \ -f env_description="${{ matrix.env_description }}" \
# -f env_description="${{ env.ENV_DESCRIPTION }}" \ -f test_type="e2e" \
# -f test_type="e2e" \ --repo woocommerce/woocommerce-test-reports
# --repo woocommerce/woocommerce-test-reports