chore: re-enable flaky tests (#2591)

* chore: re-enable flaky tests

* chore: re-enable vault tests in ci

* chore: add missing dep

* chore: fix building web on PR

* chore: add sleep to allow deleting account to propagate
This commit is contained in:
Karol Sójko
2023-10-18 13:48:14 +02:00
committed by GitHub
parent d39d5da17e
commit ac353a47ba
5 changed files with 43 additions and 39 deletions

View File

@@ -84,24 +84,24 @@ jobs:
trigger_workflow: true
wait_workflow: true
# e2e-vaults:
# name: E2E Vaults Test Suite
# needs: build-docker
# runs-on: ubuntu-latest
# steps:
# - name: Run E2E vaults test suite
# if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
# uses: convictional/trigger-workflow-and-wait@master
# with:
# owner: standardnotes
# repo: server
# github_token: ${{ secrets.CI_PAT_TOKEN }}
# workflow_file_name: e2e-test-suite.yml
# wait_interval: 30
# client_payload: '{"snjs_image_tag": "${{ github.sha }}", "suite": "vaults", "author": "${{ github.actor }}", "ref_name": "app:${{ github.ref }}"}'
# propagate_failure: true
# trigger_workflow: true
# wait_workflow: true
e2e-vaults:
name: E2E Vaults Test Suite
needs: build-docker
runs-on: ubuntu-latest
steps:
- name: Run E2E vaults test suite
if: "${{ contains(github.event.head_commit.message, 'skip e2e') == false }}"
uses: convictional/trigger-workflow-and-wait@master
with:
owner: standardnotes
repo: server
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: e2e-test-suite.yml
wait_interval: 30
client_payload: '{"snjs_image_tag": "${{ github.sha }}", "suite": "vaults", "author": "${{ github.actor }}", "ref_name": "app:${{ github.ref }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
publish:
name: Publish to NPM

View File

@@ -37,7 +37,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable
- name: Build
run: yarn build:snjs
run: yarn build:web
- name: ESLint
run: yarn lint
- name: Test
@@ -91,20 +91,20 @@ jobs:
trigger_workflow: true
wait_workflow: true
# e2e-vaults:
# name: E2E Vaults Test Suite
# needs: build-docker
# runs-on: ubuntu-latest
# steps:
# - name: Run E2E vaults test suite
# uses: convictional/trigger-workflow-and-wait@master
# with:
# owner: standardnotes
# repo: server
# github_token: ${{ secrets.CI_PAT_TOKEN }}
# workflow_file_name: e2e-test-suite.yml
# wait_interval: 30
# client_payload: '{"snjs_image_tag": "${{ github.sha }}", "suite": "vaults", "author": "${{ github.actor }}", "ref_name": "app:${{ github.ref }}"}'
# propagate_failure: true
# trigger_workflow: true
# wait_workflow: true
e2e-vaults:
name: E2E Vaults Test Suite
needs: build-docker
runs-on: ubuntu-latest
steps:
- name: Run E2E vaults test suite
uses: convictional/trigger-workflow-and-wait@master
with:
owner: standardnotes
repo: server
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: e2e-test-suite.yml
wait_interval: 30
client_payload: '{"snjs_image_tag": "${{ github.sha }}", "suite": "vaults", "author": "${{ github.actor }}", "ref_name": "app:${{ github.ref }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true