All checks were successful
docker-build / docker (push) Successful in 10m30s
tests / Tests (push) Successful in 5m26s
container-scan / Container Scan (pull_request) Successful in 3m0s
docker-build / docker (pull_request) Successful in 1m13s
tests / Tests (pull_request) Successful in 4m49s
34 lines
874 B
YAML
34 lines
874 B
YAML
name: tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- renovate/*
|
|
pull_request:
|
|
jobs:
|
|
tests:
|
|
name: Tests
|
|
runs-on: docker
|
|
container:
|
|
image: cypress/browsers:latest@sha256:95587c1ce688ce6f59934cc234a753a32a1782ca1c7959707a7d2332e69f6f63
|
|
options: --user 1001
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
|
|
- name: Enable corepack
|
|
run: corepack enable
|
|
|
|
- name: Cypress run (e2e)
|
|
uses: https://github.com/cypress-io/github-action@v6
|
|
with:
|
|
build: yarn cypress:build
|
|
start: yarn cypress:start_server
|
|
e2e: true
|
|
wait-on: 'http://127.0.0.1:3000'
|
|
|
|
- name: Cypress run (component)
|
|
uses: https://github.com/cypress-io/github-action@v6
|
|
with:
|
|
component: true
|
|
install: false
|