2022-05-10 17:29:50 -07:00
|
|
|
on:
|
|
|
|
push: {}
|
|
|
|
pull_request:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- synchronize
|
|
|
|
- ready_for_review
|
2022-02-10 20:32:21 +01:00
|
|
|
|
|
|
|
name: Static analysis
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: check tests
|
2022-07-03 14:07:27 +05:30
|
|
|
if: github.repository_owner == 'mermaid-js'
|
2022-02-10 20:32:21 +01:00
|
|
|
steps:
|
2022-09-12 19:27:45 +02:00
|
|
|
- uses: actions/checkout@v3
|
2022-09-05 01:00:47 +05:30
|
|
|
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
|