3587439fb8
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.7.16 to 6.10.2. - [Release notes](https://github.com/cypress-io/github-action/releases) - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/cypress-io/github-action/compare/108b8684ae52e735ff7891524cbffbcd4be5b19f...b8ba51a856ba5f4c15cf39007636d4ab04f23e3c) --- updated-dependencies: - dependency-name: cypress-io/github-action dependency-version: 6.10.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
name: Run dashboard schema v2 e2e
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- '**'
|
|
|
|
env:
|
|
ARCH: linux-amd64
|
|
|
|
jobs:
|
|
dashboard-schema-v2-e2e:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
if: github.event.pull_request.draft == false
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- name: Pin Go version to mod file
|
|
uses: actions/setup-go@v5.5.0
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
- run: go version
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: 'yarn'
|
|
- name: Install dependencies
|
|
run: yarn install --immutable
|
|
- name: Build grafana
|
|
run: make build
|
|
- name: Install Cypress dependencies
|
|
uses: cypress-io/github-action@b8ba51a856ba5f4c15cf39007636d4ab04f23e3c
|
|
with:
|
|
runTests: false
|
|
- name: Run dashboard scenes e2e
|
|
run: yarn e2e:schema-v2 || echo "Test failed but marking as success since schema V2 is behind a feature flag and should not block PRs"
|
|
|
|
- name: Always succeed # This is a workaround to make the job pass even if the previous step fails
|
|
if: failure()
|
|
run: exit 0
|