|
|
|
@ -559,33 +559,33 @@ jobs:
|
|
|
|
|
name: restTableOps-snapshots |
|
|
|
|
path: scripts/cypress/screenshots |
|
|
|
|
retention-days: 2 |
|
|
|
|
docker: |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
with: |
|
|
|
|
fetch-depth: 0 |
|
|
|
|
- name: Check for update |
|
|
|
|
run: | |
|
|
|
|
echo "CHANGED=$([[ $(lerna ls --since ${{github.event.before}} | grep nocodb) = nocodb ]] && echo 'OK')" >> $GITHUB_ENV |
|
|
|
|
- name: Test Mysql REST APIs |
|
|
|
|
if: ${{ env.CHANGED == 'OK' }} |
|
|
|
|
run: cd ./packages/nocodb/ && docker-compose run xc-test-mysql |
|
|
|
|
- name: Test Mysql GraphQL APIs |
|
|
|
|
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 |
|
|
|
|
# docker: |
|
|
|
|
# runs-on: ubuntu-latest |
|
|
|
|
# steps: |
|
|
|
|
# - uses: actions/checkout@v2 |
|
|
|
|
# with: |
|
|
|
|
# fetch-depth: 0 |
|
|
|
|
# - name: Check for update |
|
|
|
|
# run: | |
|
|
|
|
# echo "CHANGED=$([[ $(lerna ls --since ${{github.event.before}} | grep nocodb) = nocodb ]] && echo 'OK')" >> $GITHUB_ENV |
|
|
|
|
# - name: Test Mysql REST APIs |
|
|
|
|
# if: ${{ env.CHANGED == 'OK' }} |
|
|
|
|
# run: cd ./packages/nocodb/ && docker-compose run xc-test-mysql |
|
|
|
|
# - name: Test Mysql GraphQL APIs |
|
|
|
|
# if: ${{ env.CHANGED == 'OK' }} |
|
|
|
|
# run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-mysql |
|
|
|
|
# |
|
|
|
|
- name: Test PostgreSQL REST APIs |
|
|
|
|
if: ${{ env.CHANGED == 'OK' }} |
|
|
|
|
run: cd ./packages/nocodb/ && docker-compose run xc-test-pg |
|
|
|
|
- name: Test PostgreSQL GraphQL APIs |
|
|
|
|
if: ${{ env.CHANGED == 'OK' }} |
|
|
|
|
run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-pg |
|
|
|
|
# # - 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 |
|
|
|
|
# - name: Test PostgreSQL GraphQL APIs |
|
|
|
|
# if: ${{ env.CHANGED == 'OK' }} |
|
|
|
|
# run: cd ./packages/nocodb/ && docker-compose run xc-test-gql-pg |
|
|
|
|
# |
|
|
|
|
# - name: Test SQLite3 REST APIs |
|
|
|
|
# run: cd ./packages/nocodb/ && docker-compose run xc-test-sqlite |
|
|
|
|