From d46dac26ca1c4a30b824e0308811ee264d80f0eb Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Tue, 12 Apr 2022 20:18:04 +0530 Subject: [PATCH] CI-CD: disable API tests (docker) --- .github/workflows/ci-cd.yml | 54 ++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 2d7cbace95..ce8c3e689d 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 - # - - 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 +# 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 +# # +# - 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