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. 54
      .github/workflows/ci-cd.yml

54
.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

Loading…
Cancel
Save