Browse Source

CI-CD: disable API tests (docker)

pull/1668/head
Raju Udava 3 years ago committed by GitHub
parent
commit
d46dac26ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 52
      .github/workflows/ci-cd.yml

52
.github/workflows/ci-cd.yml

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

Loading…
Cancel
Save