fix(test): fix testing ci workflow and clean up docker
This commit is contained in:
parent
15c4f2fbde
commit
5d63cf37d6
7 changed files with 18 additions and 13 deletions
2
.github/workflows/container-scan.yml
vendored
2
.github/workflows/container-scan.yml
vendored
|
@ -34,5 +34,5 @@ jobs:
|
|||
- name: Clean up Docker
|
||||
if: always()
|
||||
run: |
|
||||
docker system prune -af --filter "until=24h"
|
||||
docker system prune -af
|
||||
docker volume prune -f
|
||||
|
|
2
.github/workflows/docker-build.yml
vendored
2
.github/workflows/docker-build.yml
vendored
|
@ -67,5 +67,5 @@ jobs:
|
|||
- name: Clean up Docker
|
||||
if: always()
|
||||
run: |
|
||||
docker system prune -af --filter "until=24h"
|
||||
docker system prune -af
|
||||
docker volume prune -f
|
||||
|
|
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
|
@ -22,14 +22,13 @@ jobs:
|
|||
- name: Cypress run (e2e)
|
||||
uses: https://github.com/cypress-io/github-action@v6
|
||||
with:
|
||||
build: yarn run build
|
||||
build: yarn cypress:build
|
||||
start: yarn cypress:start_server
|
||||
e2e: true
|
||||
wait-on: 'http://localhost:3000'
|
||||
wait-on: 'http://127.0.0.1:3000'
|
||||
|
||||
- name: Cypress run (component)
|
||||
uses: https://github.com/cypress-io/github-action@v6
|
||||
with:
|
||||
build: yarn run build
|
||||
start: yarn cypress:start_server
|
||||
component: true
|
||||
install: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue