|
|
@ -63,7 +63,7 @@ jobs: |
|
|
|
working-directory: ./ |
|
|
|
working-directory: ./ |
|
|
|
run: docker-compose -f ./packages/nc-gui/tests/playwright/scripts/docker-compose-playwright-pg.yml up -d & |
|
|
|
run: docker-compose -f ./packages/nc-gui/tests/playwright/scripts/docker-compose-playwright-pg.yml up -d & |
|
|
|
- name: setup pg for quick tests |
|
|
|
- name: setup pg for quick tests |
|
|
|
if: ${{ inputs.db == 'sqlite' && inputs.shard == '0' }} |
|
|
|
if: ${{ inputs.db == 'sqlite' && inputs.shard == '1' }} |
|
|
|
working-directory: ./ |
|
|
|
working-directory: ./ |
|
|
|
run: docker-compose -f ./packages/nc-gui/tests/playwright/scripts/docker-compose-pg-pw-quick.yml up -d & |
|
|
|
run: docker-compose -f ./packages/nc-gui/tests/playwright/scripts/docker-compose-pg-pw-quick.yml up -d & |
|
|
|
- name: run frontend |
|
|
|
- name: run frontend |
|
|
@ -99,13 +99,21 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
# Quick tests (pg on sqlite shard 0 and sqlite on sqlite shard 1) |
|
|
|
# Quick tests (pg on sqlite shard 0 and sqlite on sqlite shard 1) |
|
|
|
- name: Run quick server and tests (pg) |
|
|
|
- name: Run quick server and tests (pg) |
|
|
|
if: ${{ inputs.db == 'sqlite' && inputs.shard == '0' }} |
|
|
|
if: ${{ inputs.db == 'sqlite' && inputs.shard == '1' }} |
|
|
|
working-directory: ./packages/nocodb |
|
|
|
working-directory: ./packages/nocodb |
|
|
|
run: kill -9 $(lsof -t -i:8080); npm run watch:run:playwright:pg:cyquick &; cd ../nc-gui/tests/playwright; npm run ci:test:quick |
|
|
|
run: | |
|
|
|
|
|
|
|
kill -9 $(lsof -t -i:8080) |
|
|
|
|
|
|
|
npm run watch:run:playwright:pg:cyquick & |
|
|
|
|
|
|
|
cd ../nc-gui/tests/playwright |
|
|
|
|
|
|
|
npm run ci:test:quick |
|
|
|
- name: Run quick server and tests (sqlite) |
|
|
|
- name: Run quick server and tests (sqlite) |
|
|
|
if: ${{ inputs.db == 'sqlite' && inputs.shard == '1' }} |
|
|
|
if: ${{ inputs.db == 'sqlite' && inputs.shard == '2' }} |
|
|
|
working-directory: ./packages/nocodb |
|
|
|
working-directory: ./packages/nocodb |
|
|
|
run: kill -9 $(lsof -t -i:8080); npm run watch:run:playwright:quick &; cd ../nc-gui/tests/playwright; npm run ci:test:quick |
|
|
|
run: | |
|
|
|
|
|
|
|
kill -9 $(lsof -t -i:8080) |
|
|
|
|
|
|
|
npm run watch:run:playwright:quick & |
|
|
|
|
|
|
|
cd ../nc-gui/tests/playwright |
|
|
|
|
|
|
|
npm run ci:test:quick |
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
if: always() |
|
|
|
if: always() |
|
|
|