disable image snapshot matching temp #1574
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
jobs: | |
CI: | |
name: Editor Tests Flakiness Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --immutable --immutable-cache | |
- name: Build @questdb/react-components | |
run: yarn workspace @questdb/react-components run build | |
- name: Build @questdb/web-console | |
run: yarn workspace @questdb/web-console run build | |
- name: Start web console server | |
run: node packages/web-console/serve-dist.js & | |
- name: Run editor tests 10 times | |
run: | | |
for i in {1..10}; do | |
echo "=== Running editor tests iteration $i ===" | |
# Stop and remove any existing container | |
docker stop questdb || true | |
docker rm questdb || true | |
# Start QuestDB with auth | |
docker run -d --name questdb \ | |
-p 9000:9000 -p 9009:9009 \ | |
-e QDB_HTTP_USER=admin \ | |
-e QDB_HTTP_PASSWORD=quest \ | |
-e QDB_DEV_MODE_ENABLED=true \ | |
questdb/questdb:nightly | |
# Wait for QuestDB to be ready | |
sleep 10 | |
# Run the editor tests | |
yarn workspace browser-tests test | |
echo "=== Completed iteration $i ===" | |
done | |
- name: Stop QuestDB | |
if: success() || failure() | |
run: docker stop questdb || true |