|
|
@ -757,22 +757,22 @@ jobs: |
|
|
|
# name: cypress-restMisc-run-cache-snapshots |
|
|
|
# name: cypress-restMisc-run-cache-snapshots |
|
|
|
# path: scripts/cypress/screenshots |
|
|
|
# path: scripts/cypress/screenshots |
|
|
|
# retention-days: 2 |
|
|
|
# retention-days: 2 |
|
|
|
playwright: |
|
|
|
# playwright: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
# runs-on: ubuntu-20.04 |
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
steps: |
|
|
|
# steps: |
|
|
|
- name: Setup Node |
|
|
|
# - name: Setup Node |
|
|
|
uses: actions/setup-node@v3 |
|
|
|
# uses: actions/setup-node@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
node-version: 16.15.0 |
|
|
|
# node-version: 16.15.0 |
|
|
|
- name: Checkout |
|
|
|
# - name: Checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
# uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
fetch-depth: 0 |
|
|
|
# fetch-depth: 0 |
|
|
|
- name: Cache node modules |
|
|
|
# - name: Cache node modules |
|
|
|
uses: actions/cache@v3 |
|
|
|
# uses: actions/cache@v3 |
|
|
|
env: |
|
|
|
# env: |
|
|
|
cache-name: cache-node-modules |
|
|
|
# cache-name: cache-node-modules |
|
|
|
|
|
|
|
|
|
|
|
with: |
|
|
|
with: |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
@ -1142,189 +1142,189 @@ jobs: |
|
|
|
env: |
|
|
|
env: |
|
|
|
cache-name: cache-node-modules |
|
|
|
cache-name: cache-node-modules |
|
|
|
|
|
|
|
|
|
|
|
with: |
|
|
|
# with: |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
# # npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
path: ~/.npm |
|
|
|
# path: ~/.npm |
|
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
restore-keys: | |
|
|
|
# restore-keys: | |
|
|
|
${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
# ${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
${{ runner.os }}-build- |
|
|
|
# ${{ runner.os }}-build- |
|
|
|
${{ runner.os }}- |
|
|
|
# ${{ runner.os }}- |
|
|
|
- name: Set env |
|
|
|
# - name: Set env |
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
# run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
- name: Cypress run |
|
|
|
# - name: Cypress run |
|
|
|
uses: cypress-io/github-action@v4 |
|
|
|
# uses: cypress-io/github-action@v4 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
start: | |
|
|
|
# start: | |
|
|
|
npm run start:api:cache |
|
|
|
# npm run start:api:cache |
|
|
|
npm run start:web |
|
|
|
# npm run start:web |
|
|
|
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d |
|
|
|
# docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d |
|
|
|
spec: "./scripts/cypress/integration/test/pg-restTableOps.js" |
|
|
|
# spec: "./scripts/cypress/integration/test/pg-restTableOps.js" |
|
|
|
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
# wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
wait-on-timeout: 1200 |
|
|
|
# wait-on-timeout: 1200 |
|
|
|
config-file: scripts/cypress/cypress.json |
|
|
|
# config-file: scripts/cypress/cypress.json |
|
|
|
- name: Upload screenshots |
|
|
|
# - name: Upload screenshots |
|
|
|
if: always() |
|
|
|
# if: always() |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
# uses: actions/upload-artifact@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
name: cypress-pg-restTableOps-run-cache-snapshots |
|
|
|
# name: cypress-pg-restTableOps-run-cache-snapshots |
|
|
|
path: scripts/cypress/screenshots |
|
|
|
# path: scripts/cypress/screenshots |
|
|
|
retention-days: 2 |
|
|
|
# retention-days: 2 |
|
|
|
cypress-pg-restViews-run-cache: |
|
|
|
# cypress-pg-restViews-run-cache: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
# runs-on: ubuntu-20.04 |
|
|
|
timeout-minutes: 30 |
|
|
|
# timeout-minutes: 30 |
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
steps: |
|
|
|
# steps: |
|
|
|
- name: Setup Node |
|
|
|
# - name: Setup Node |
|
|
|
uses: actions/setup-node@v3 |
|
|
|
# uses: actions/setup-node@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
node-version: 16.15.0 |
|
|
|
# node-version: 16.15.0 |
|
|
|
- name: Checkout |
|
|
|
# - name: Checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
# uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
fetch-depth: 0 |
|
|
|
# fetch-depth: 0 |
|
|
|
- name: Cache node modules |
|
|
|
# - name: Cache node modules |
|
|
|
uses: actions/cache@v3 |
|
|
|
# uses: actions/cache@v3 |
|
|
|
env: |
|
|
|
# env: |
|
|
|
cache-name: cache-node-modules |
|
|
|
# cache-name: cache-node-modules |
|
|
|
|
|
|
|
|
|
|
|
with: |
|
|
|
# with: |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
# # npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
path: ~/.npm |
|
|
|
# path: ~/.npm |
|
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
restore-keys: | |
|
|
|
# restore-keys: | |
|
|
|
${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
# ${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
${{ runner.os }}-build- |
|
|
|
# ${{ runner.os }}-build- |
|
|
|
${{ runner.os }}- |
|
|
|
# ${{ runner.os }}- |
|
|
|
- name: Set env |
|
|
|
# - name: Set env |
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
# run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
- name: Cypress run |
|
|
|
# - name: Cypress run |
|
|
|
uses: cypress-io/github-action@v4 |
|
|
|
# uses: cypress-io/github-action@v4 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
start: | |
|
|
|
# start: | |
|
|
|
npm run start:api:cache |
|
|
|
# npm run start:api:cache |
|
|
|
npm run start:web |
|
|
|
# npm run start:web |
|
|
|
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d |
|
|
|
# docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d |
|
|
|
spec: "./scripts/cypress/integration/test/pg-restViews.js" |
|
|
|
# spec: "./scripts/cypress/integration/test/pg-restViews.js" |
|
|
|
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
# wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
wait-on-timeout: 1200 |
|
|
|
# wait-on-timeout: 1200 |
|
|
|
config-file: scripts/cypress/cypress.json |
|
|
|
# config-file: scripts/cypress/cypress.json |
|
|
|
- name: Upload screenshots |
|
|
|
# - name: Upload screenshots |
|
|
|
if: always() |
|
|
|
# if: always() |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
# uses: actions/upload-artifact@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
name: cypress-pg-restViews-run-cache-snapshots |
|
|
|
# name: cypress-pg-restViews-run-cache-snapshots |
|
|
|
path: scripts/cypress/screenshots |
|
|
|
# path: scripts/cypress/screenshots |
|
|
|
retention-days: 2 |
|
|
|
# retention-days: 2 |
|
|
|
cypress-pg-restRoles-run-cache: |
|
|
|
# cypress-pg-restRoles-run-cache: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
# runs-on: ubuntu-20.04 |
|
|
|
timeout-minutes: 30 |
|
|
|
# timeout-minutes: 30 |
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
steps: |
|
|
|
# steps: |
|
|
|
- name: Setup Node |
|
|
|
# - name: Setup Node |
|
|
|
uses: actions/setup-node@v3 |
|
|
|
# uses: actions/setup-node@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
node-version: 16.15.0 |
|
|
|
# node-version: 16.15.0 |
|
|
|
- name: Checkout |
|
|
|
# - name: Checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
# uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
fetch-depth: 0 |
|
|
|
# fetch-depth: 0 |
|
|
|
- name: Cache node modules |
|
|
|
# - name: Cache node modules |
|
|
|
uses: actions/cache@v3 |
|
|
|
# uses: actions/cache@v3 |
|
|
|
env: |
|
|
|
# env: |
|
|
|
cache-name: cache-node-modules |
|
|
|
# cache-name: cache-node-modules |
|
|
|
|
|
|
|
|
|
|
|
with: |
|
|
|
# with: |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
# # npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
path: ~/.npm |
|
|
|
# path: ~/.npm |
|
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
restore-keys: | |
|
|
|
# restore-keys: | |
|
|
|
${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
# ${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
${{ runner.os }}-build- |
|
|
|
# ${{ runner.os }}-build- |
|
|
|
${{ runner.os }}- |
|
|
|
# ${{ runner.os }}- |
|
|
|
- name: Set env |
|
|
|
# - name: Set env |
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
# run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
- name: Cypress run |
|
|
|
# - name: Cypress run |
|
|
|
uses: cypress-io/github-action@v4 |
|
|
|
# uses: cypress-io/github-action@v4 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
start: | |
|
|
|
# start: | |
|
|
|
npm run start:api:cache |
|
|
|
# npm run start:api:cache |
|
|
|
npm run start:web |
|
|
|
# npm run start:web |
|
|
|
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d |
|
|
|
# docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d |
|
|
|
spec: "./scripts/cypress/integration/test/pg-restRoles.js" |
|
|
|
# spec: "./scripts/cypress/integration/test/pg-restRoles.js" |
|
|
|
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
# wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
wait-on-timeout: 1200 |
|
|
|
# wait-on-timeout: 1200 |
|
|
|
config-file: scripts/cypress/cypress.json |
|
|
|
# config-file: scripts/cypress/cypress.json |
|
|
|
- name: Upload screenshots |
|
|
|
# - name: Upload screenshots |
|
|
|
if: always() |
|
|
|
# if: always() |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
# uses: actions/upload-artifact@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
name: cypress-pg-restRoles-run-cache-snapshots |
|
|
|
# name: cypress-pg-restRoles-run-cache-snapshots |
|
|
|
path: scripts/cypress/screenshots |
|
|
|
# path: scripts/cypress/screenshots |
|
|
|
retention-days: 2 |
|
|
|
# retention-days: 2 |
|
|
|
cypress-pg-restMisc-run-cache: |
|
|
|
# cypress-pg-restMisc-run-cache: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
# runs-on: ubuntu-20.04 |
|
|
|
timeout-minutes: 30 |
|
|
|
# timeout-minutes: 30 |
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
steps: |
|
|
|
# steps: |
|
|
|
- name: Setup Node |
|
|
|
# - name: Setup Node |
|
|
|
uses: actions/setup-node@v3 |
|
|
|
# uses: actions/setup-node@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
node-version: 16.15.0 |
|
|
|
# node-version: 16.15.0 |
|
|
|
- name: Checkout |
|
|
|
# - name: Checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
# uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
fetch-depth: 0 |
|
|
|
# fetch-depth: 0 |
|
|
|
- name: Cache node modules |
|
|
|
# - name: Cache node modules |
|
|
|
uses: actions/cache@v3 |
|
|
|
# uses: actions/cache@v3 |
|
|
|
env: |
|
|
|
# env: |
|
|
|
cache-name: cache-node-modules |
|
|
|
# cache-name: cache-node-modules |
|
|
|
|
|
|
|
|
|
|
|
with: |
|
|
|
# with: |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
# # npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
path: ~/.npm |
|
|
|
# path: ~/.npm |
|
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
restore-keys: | |
|
|
|
# restore-keys: | |
|
|
|
${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
# ${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
${{ runner.os }}-build- |
|
|
|
# ${{ runner.os }}-build- |
|
|
|
${{ runner.os }}- |
|
|
|
# ${{ runner.os }}- |
|
|
|
- name: Set env |
|
|
|
# - name: Set env |
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
# run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
- name: Cypress run |
|
|
|
# - name: Cypress run |
|
|
|
uses: cypress-io/github-action@v4 |
|
|
|
# uses: cypress-io/github-action@v4 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
start: | |
|
|
|
# start: | |
|
|
|
npm run start:api:cache |
|
|
|
# npm run start:api:cache |
|
|
|
npm run start:web |
|
|
|
# npm run start:web |
|
|
|
docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d |
|
|
|
# docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d |
|
|
|
spec: "./scripts/cypress/integration/test/pg-restMisc.js" |
|
|
|
# spec: "./scripts/cypress/integration/test/pg-restMisc.js" |
|
|
|
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
# wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
wait-on-timeout: 1200 |
|
|
|
# wait-on-timeout: 1200 |
|
|
|
config-file: scripts/cypress/cypress.json |
|
|
|
# config-file: scripts/cypress/cypress.json |
|
|
|
- name: Upload screenshots |
|
|
|
# - name: Upload screenshots |
|
|
|
if: always() |
|
|
|
# if: always() |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
# uses: actions/upload-artifact@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
name: cypress-pg-restMisc-run-cache-snapshots |
|
|
|
# name: cypress-pg-restMisc-run-cache-snapshots |
|
|
|
path: scripts/cypress/screenshots |
|
|
|
# path: scripts/cypress/screenshots |
|
|
|
retention-days: 2 |
|
|
|
# retention-days: 2 |
|
|
|
cy-quick-sqlite: |
|
|
|
# cy-quick-sqlite: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
# runs-on: ubuntu-20.04 |
|
|
|
timeout-minutes: 30 |
|
|
|
# timeout-minutes: 30 |
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
steps: |
|
|
|
# steps: |
|
|
|
- name: Setup Node |
|
|
|
# - name: Setup Node |
|
|
|
uses: actions/setup-node@v3 |
|
|
|
# uses: actions/setup-node@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
node-version: 16.15.0 |
|
|
|
# node-version: 16.15.0 |
|
|
|
- name: Checkout |
|
|
|
# - name: Checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
# uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
fetch-depth: 0 |
|
|
|
# fetch-depth: 0 |
|
|
|
- name: Cache node modules |
|
|
|
# - name: Cache node modules |
|
|
|
uses: actions/cache@v3 |
|
|
|
# uses: actions/cache@v3 |
|
|
|
env: |
|
|
|
# env: |
|
|
|
cache-name: cache-node-modules |
|
|
|
# cache-name: cache-node-modules |
|
|
|
|
|
|
|
|
|
|
|
with: |
|
|
|
with: |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
@ -1373,51 +1373,51 @@ jobs: |
|
|
|
env: |
|
|
|
env: |
|
|
|
cache-name: cache-node-modules |
|
|
|
cache-name: cache-node-modules |
|
|
|
|
|
|
|
|
|
|
|
with: |
|
|
|
# with: |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
# # npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
path: ~/.npm |
|
|
|
# path: ~/.npm |
|
|
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} |
|
|
|
restore-keys: | |
|
|
|
# restore-keys: | |
|
|
|
${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
# ${{ runner.os }}-build-${{ env.cache-name }}- |
|
|
|
${{ runner.os }}-build- |
|
|
|
# ${{ runner.os }}-build- |
|
|
|
${{ runner.os }}- |
|
|
|
# ${{ runner.os }}- |
|
|
|
- name: Set env |
|
|
|
# - name: Set env |
|
|
|
run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
# run: echo "NODE_ENV=test" >> $GITHUB_ENV |
|
|
|
- name: Cypress run |
|
|
|
# - name: Cypress run |
|
|
|
uses: cypress-io/github-action@v4 |
|
|
|
# uses: cypress-io/github-action@v4 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
start: | |
|
|
|
# start: | |
|
|
|
docker-compose -f ./scripts/cypress/docker-compose-pg-cy-quick.yml up -d |
|
|
|
# docker-compose -f ./scripts/cypress/docker-compose-pg-cy-quick.yml up -d |
|
|
|
npm run start:api:cache:pg:cyquick |
|
|
|
# npm run start:api:cache:pg:cyquick |
|
|
|
npm run start:web |
|
|
|
# npm run start:web |
|
|
|
spec: "./scripts/cypress/integration/test/quickTest.js" |
|
|
|
# spec: "./scripts/cypress/integration/test/quickTest.js" |
|
|
|
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
# wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/assets/img/icons/512x512-trans.png" |
|
|
|
wait-on-timeout: 1200 |
|
|
|
# wait-on-timeout: 1200 |
|
|
|
config-file: scripts/cypress/cypress.json |
|
|
|
# config-file: scripts/cypress/cypress.json |
|
|
|
- name: Upload screenshots |
|
|
|
# - name: Upload screenshots |
|
|
|
if: always() |
|
|
|
# if: always() |
|
|
|
uses: actions/upload-artifact@v3 |
|
|
|
# uses: actions/upload-artifact@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
name: cy-quick-pg-snapshots |
|
|
|
# name: cy-quick-pg-snapshots |
|
|
|
path: scripts/cypress/screenshots |
|
|
|
# path: scripts/cypress/screenshots |
|
|
|
retention-days: 2 |
|
|
|
# retention-days: 2 |
|
|
|
unit-tests: |
|
|
|
# unit-tests: |
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
# runs-on: ubuntu-20.04 |
|
|
|
timeout-minutes: 30 |
|
|
|
# timeout-minutes: 30 |
|
|
|
if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
# if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'trigger-CI') || !github.event.pull_request.draft }} |
|
|
|
steps: |
|
|
|
# steps: |
|
|
|
- name: Setup Node |
|
|
|
# - name: Setup Node |
|
|
|
uses: actions/setup-node@v3 |
|
|
|
# uses: actions/setup-node@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
node-version: 16.15.0 |
|
|
|
# node-version: 16.15.0 |
|
|
|
- name: Checkout |
|
|
|
# - name: Checkout |
|
|
|
uses: actions/checkout@v3 |
|
|
|
# uses: actions/checkout@v3 |
|
|
|
with: |
|
|
|
# with: |
|
|
|
fetch-depth: 0 |
|
|
|
# fetch-depth: 0 |
|
|
|
- name: Cache node modules |
|
|
|
# - name: Cache node modules |
|
|
|
uses: actions/cache@v3 |
|
|
|
# uses: actions/cache@v3 |
|
|
|
env: |
|
|
|
# env: |
|
|
|
cache-name: cache-node-modules |
|
|
|
# cache-name: cache-node-modules |
|
|
|
|
|
|
|
|
|
|
|
with: |
|
|
|
with: |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|
# npm cache files are stored in `~/.npm` on Linux/macOS |
|
|
|