Removing old cache spot for permission test and incrementing the timeout. (#2395)

This commit is contained in:
Cesar Celis Hernandez
2022-10-18 22:28:43 -04:00
committed by GitHub
parent 40f64709a6
commit 2dd92fd940

View File

@@ -700,7 +700,7 @@ jobs:
- vulnerable-dependencies-checks - vulnerable-dependencies-checks
- semgrep-static-code-analysis - semgrep-static-code-analysis
runs-on: [ ubuntu-latest ] runs-on: [ ubuntu-latest ]
timeout-minutes: 5 timeout-minutes: 15
strategy: strategy:
matrix: matrix:
go-version: [ 1.18.x ] go-version: [ 1.18.x ]
@@ -750,12 +750,6 @@ jobs:
echo "There was no hit, hence we generate the assets" echo "There was no hit, hence we generate the assets"
make assets make assets
- name: Generate Assets
if: steps.assets-cache.outputs.cache-hit != 'true'
run: |
echo "There was no hit, hence we generate the assets"
make assets
- uses: actions/cache@v3 - uses: actions/cache@v3
name: Go Mod Cache name: Go Mod Cache
with: with:
@@ -779,7 +773,7 @@ jobs:
run: | run: |
(./console server) & (make initialize-permissions) (./console server) & (make initialize-permissions)
- name: Run TestCafe Tests - name: Run TestCafe Tests
timeout-minutes: 5 timeout-minutes: 10
uses: DevExpress/testcafe-action@latest uses: DevExpress/testcafe-action@latest
with: with:
args: '"chrome --headless --no-sandbox" portal-ui/tests/permissions-4/ --skip-js-errors' args: '"chrome --headless --no-sandbox" portal-ui/tests/permissions-4/ --skip-js-errors'