|
|
|
@ -4,9 +4,9 @@
|
|
|
|
|
name: "CI/CD" |
|
|
|
|
on: |
|
|
|
|
push: |
|
|
|
|
branches: [ master, cypress ] |
|
|
|
|
branches: [master, cypress] |
|
|
|
|
pull_request: |
|
|
|
|
branches: [ master ] |
|
|
|
|
branches: [master] |
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
|
cypress-rest--run: |
|
|
|
@ -41,8 +41,8 @@ jobs:
|
|
|
|
|
npm run start:api |
|
|
|
|
npm run start:web |
|
|
|
|
docker-compose -f ./scripts/docker-compose-cypress.yml up -d |
|
|
|
|
spec: 'cypress/integration/test/masterSuiteRest.js' |
|
|
|
|
wait-on: 'http://localhost:8080, http://localhost:3000/_nuxt/runtime.js' |
|
|
|
|
spec: "./scripts/cypress/integration/test/masterSuiteRest.js" |
|
|
|
|
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js" |
|
|
|
|
wait-on-timeout: 1200 |
|
|
|
|
cypress-graphql-run: |
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
@ -75,8 +75,8 @@ jobs:
|
|
|
|
|
npm run start:api |
|
|
|
|
npm run start:web |
|
|
|
|
docker-compose -f ./scripts/docker-compose-cypress.yml up -d |
|
|
|
|
spec: 'cypress/integration/test/masterSuiteGql.js' |
|
|
|
|
wait-on: 'http://localhost:8080, http://localhost:3000/_nuxt/runtime.js' |
|
|
|
|
spec: "./scripts/cypress/integration/test/masterSuiteGql.js" |
|
|
|
|
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js" |
|
|
|
|
wait-on-timeout: 1200 |
|
|
|
|
docker: |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
@ -95,11 +95,11 @@ jobs:
|
|
|
|
|
if: ${{ env.CHANGED == 'OK' }} |
|
|
|
|
run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-mysql |
|
|
|
|
|
|
|
|
|
# - name: Test MSSQL REST APIs |
|
|
|
|
# run: cd ./packages/nocodb/ && docker-compose run xc-test-mssql |
|
|
|
|
# - name: Test MSSQL GraphQL APIs |
|
|
|
|
# run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-mssql |
|
|
|
|
# |
|
|
|
|
# - name: Test MSSQL REST APIs |
|
|
|
|
# run: cd ./packages/nocodb/ && docker-compose run xc-test-mssql |
|
|
|
|
# - name: Test MSSQL GraphQL APIs |
|
|
|
|
# run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-mssql |
|
|
|
|
# |
|
|
|
|
- name: Test PostgreSQL REST APIs |
|
|
|
|
if: ${{ env.CHANGED == 'OK' }} |
|
|
|
|
run: cd ./packages/nocodb/ && docker-compose run xc-test-pg |
|
|
|
|