UNPKG

@ordino.ai/cli

Version:
42 lines (37 loc) 979 B
name: Ordino Cypress Tests on: push: branches: [main, develop] pull_request: branches: [main, develop] jobs: run-tests: runs-on: ubuntu-latest strategy: matrix: shard: [1, 2, 3] steps: - uses: actions/checkout@v4 - uses: ORDINO-AI-LLC/github-action@12 with: test-framework: 'cypress' total-shards: '3' shard-index: '${{ matrix.shard }}' skip-upload: 'true' - uses: actions/upload-artifact@v4 with: name: cypress-report-${{ matrix.shard }} path: ordino-report/ upload-report: needs: run-tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 with: pattern: cypress-report-* path: all-reports/ - uses: ORDINO-AI-LLC/github-action@12 with: test-framework: 'cypress' action-mode: 'merge-and-upload'