From cf2ef72ef42c3c17ca198cfadee8066e7245febd Mon Sep 17 00:00:00 2001 From: Amardeepsingh Siglani Date: Tue, 3 Oct 2023 16:22:37 -0700 Subject: [PATCH] commented out cypress cache use Signed-off-by: Amardeepsingh Siglani --- .github/workflows/cypress-workflow.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index c5850df0c..5948fc8b3 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -115,14 +115,14 @@ jobs: cd OpenSearch-Dashboards/plugins/security-analytics-dashboards-plugin echo "::set-output name=cypress_version::$(cat ./package.json | jq '.dependencies.cypress' | tr -d '"')" - - name: Cache Cypress - id: cache-cypress - uses: actions/cache@v2 - with: - path: ${{ matrix.cypress_cache_folder }} - key: cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} - restore-keys: | - cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} + # - name: Cache Cypress + # id: cache-cypress + # uses: actions/cache@v2 + # with: + # path: ${{ matrix.cypress_cache_folder }} + # key: cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} + # restore-keys: | + # cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} # for now just chrome, use matrix to do all browsers later - name: Cypress tests @@ -133,8 +133,8 @@ jobs: wait-on: 'http://localhost:5601' wait-on-timeout: 300 browser: chrome - env: - CYPRESS_CACHE_FOLDER: ${{ matrix.cypress_cache_folder }} + # env: + # CYPRESS_CACHE_FOLDER: ${{ matrix.cypress_cache_folder }} # Screenshots are only captured on failure, will change this once we do visual regression tests - uses: actions/upload-artifact@v1