2022-05-11 02:29:50 +02:00
|
|
|
on:
|
2023-07-02 06:33:31 +02:00
|
|
|
push:
|
|
|
|
merge_group:
|
2022-05-11 02:29:50 +02:00
|
|
|
pull_request:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
|
|
|
- ready_for_review
|
2022-02-10 20:32:21 +01:00
|
|
|
|
2023-07-02 06:44:35 +02:00
|
|
|
name: Static analysis on Test files
|
2022-02-10 20:32:21 +01:00
|
|
|
|
|
|
|
jobs:
|
2023-07-02 06:44:35 +02:00
|
|
|
check-tests:
|
2022-02-10 20:32:21 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: check tests
|
2022-07-03 10:37:27 +02:00
|
|
|
if: github.repository_owner == 'mermaid-js'
|
2022-02-10 20:32:21 +01:00
|
|
|
steps:
|
2023-11-09 12:56:57 +01:00
|
|
|
- uses: actions/checkout@v4
|
2022-09-04 21:30:47 +02:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: testomatio/check-tests@stable
|
|
|
|
with:
|
|
|
|
framework: cypress
|
|
|
|
tests: './cypress/e2e/**/**.spec.js'
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
has-tests-label: true
|