Update cot-build-and-e2e-tests-daily-wip.yml

This commit is contained in:
nigeljamesstevenson 2023-11-10 16:41:03 +00:00 committed by GitHub
parent 05c96d8cf0
commit d827587394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
name: Run daily tests in an environment with COT enabled name: Run daily tests in an environment with HPOS enabled
on: on:
schedule: schedule:
- cron: '30 2 * * *' - cron: '30 2 * * *'
@ -11,8 +11,8 @@ concurrency:
permissions: {} permissions: {}
jobs: jobs:
cot-e2e-tests-run: hpos-e2e-tests-run:
name: Runs E2E tests with COT enabled. name: Runs E2E tests with HPOS enabled.
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
permissions: permissions:
contents: read contents: read
@ -25,7 +25,7 @@ jobs:
- name: Setup WooCommerce Monorepo - name: Setup WooCommerce Monorepo
uses: ./.github/actions/setup-woocommerce-monorepo uses: ./.github/actions/setup-woocommerce-monorepo
- name: Load docker images and start containers with COT enabled. - name: Load docker images and start containers with HPOS enabled.
working-directory: plugins/woocommerce working-directory: plugins/woocommerce
env: env:
ENABLE_HPOS: 1 ENABLE_HPOS: 1
@ -67,8 +67,8 @@ jobs:
if-no-files-found: ignore if-no-files-found: ignore
retention-days: 5 retention-days: 5
cot-api-tests-run: hpos-api-tests-run:
name: Runs API tests with COT enabled. name: Runs API tests with HPOS enabled.
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
permissions: permissions:
contents: read contents: read
@ -81,7 +81,7 @@ jobs:
- name: Setup WooCommerce Monorepo - name: Setup WooCommerce Monorepo
uses: ./.github/actions/setup-woocommerce-monorepo uses: ./.github/actions/setup-woocommerce-monorepo
- name: Load docker images and start containers with COT enabled. - name: Load docker images and start containers with HPOS enabled.
working-directory: plugins/woocommerce working-directory: plugins/woocommerce
env: env:
ENABLE_HPOS: 1 ENABLE_HPOS: 1
@ -132,7 +132,7 @@ jobs:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
permissions: permissions:
contents: read contents: read
needs: [cot-api-tests-run, cot-e2e-tests-run] needs: [hpos-api-tests-run, hpos-e2e-tests-run]
steps: steps:
- name: Create dirs - name: Create dirs
run: | run: |
@ -180,7 +180,7 @@ jobs:
contains( needs.*.result, 'failure' ) contains( needs.*.result, 'failure' )
) )
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
needs: [cot-api-tests-run, cot-e2e-tests-run] needs: [hpos-api-tests-run, hpos-e2e-tests-run]
env: env:
GITHUB_TOKEN: ${{ secrets.REPORTS_TOKEN }} GITHUB_TOKEN: ${{ secrets.REPORTS_TOKEN }}
RUN_ID: ${{ github.run_id }} RUN_ID: ${{ github.run_id }}