|
|
@ -109,9 +109,6 @@ jobs: |
|
|
|
- name: build nocodb-sdk |
|
|
|
- name: build nocodb-sdk |
|
|
|
working-directory: ./packages/nocodb-sdk |
|
|
|
working-directory: ./packages/nocodb-sdk |
|
|
|
run: npm run build |
|
|
|
run: npm run build |
|
|
|
- name: Install dependencies |
|
|
|
|
|
|
|
working-directory: ./packages/nocodb |
|
|
|
|
|
|
|
run: npm install |
|
|
|
|
|
|
|
- name: setup mysql |
|
|
|
- name: setup mysql |
|
|
|
working-directory: ./ |
|
|
|
working-directory: ./ |
|
|
|
run: docker-compose -f ./scripts/playwright/scripts/docker-compose-playwright.yml up -d & |
|
|
|
run: docker-compose -f ./scripts/playwright/scripts/docker-compose-playwright.yml up -d & |
|
|
@ -120,7 +117,7 @@ jobs: |
|
|
|
run: npm run ci:run |
|
|
|
run: npm run ci:run |
|
|
|
- name: Run backend |
|
|
|
- name: Run backend |
|
|
|
working-directory: ./packages/nocodb |
|
|
|
working-directory: ./packages/nocodb |
|
|
|
run: npm run watch:run:playwright > mysql_test_backend.log & |
|
|
|
run: npm run ci:run & |
|
|
|
- name: Cache playwright npm modules |
|
|
|
- name: Cache playwright npm modules |
|
|
|
uses: actions/cache@v3 |
|
|
|
uses: actions/cache@v3 |
|
|
|
id: playwright-cache |
|
|
|
id: playwright-cache |
|
|
@ -135,12 +132,6 @@ jobs: |
|
|
|
- name: Install Playwright Browsers |
|
|
|
- name: Install Playwright Browsers |
|
|
|
working-directory: ./scripts/playwright |
|
|
|
working-directory: ./scripts/playwright |
|
|
|
run: npx playwright install chromium --with-deps |
|
|
|
run: npx playwright install chromium --with-deps |
|
|
|
- name: Wait for frontend |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
while ! curl --output /dev/null --silent --head --fail http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png; do |
|
|
|
|
|
|
|
printf '.' |
|
|
|
|
|
|
|
sleep 2 |
|
|
|
|
|
|
|
done |
|
|
|
|
|
|
|
- name: Wait for backend |
|
|
|
- name: Wait for backend |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
while ! curl --output /dev/null --silent --head --fail http://localhost:8080; do |
|
|
|
while ! curl --output /dev/null --silent --head --fail http://localhost:8080; do |
|
|
|