|
|
|
@ -19,12 +19,10 @@ on:
|
|
|
|
|
- "scripts/cypress/**" |
|
|
|
|
- "packages/nocodb/**" |
|
|
|
|
- ".github/workflows/ci-cd.yml" |
|
|
|
|
defaults: |
|
|
|
|
run: |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
jobs: |
|
|
|
|
cypress-restTableOps-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -70,6 +68,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-restViews-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -115,6 +114,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-restRoles-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -160,6 +160,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-restMisc-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -205,6 +206,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-xcdb-restTableOps-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -250,6 +252,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-xcdb-restViews-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -295,6 +298,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-xcdb-restRoles-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -340,6 +344,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-xcdb-restMisc-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -385,6 +390,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-pg-restTableOps-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -430,6 +436,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-pg-restViews-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -475,6 +482,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-pg-restRoles-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -520,6 +528,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cypress-pg-restMisc-run-cache: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -565,6 +574,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cy-quick-sqlite: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -611,6 +621,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
cy-quick-pg: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -656,6 +667,7 @@ jobs:
|
|
|
|
|
retention-days: 2 |
|
|
|
|
unit-tests: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
@ -696,6 +708,7 @@ jobs:
|
|
|
|
|
run: npm run test:unit |
|
|
|
|
cypress-db-independent: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
timeout-minutes: 10 |
|
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
|
steps: |
|
|
|
|
- name: Setup Node |
|
|
|
|