mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-20 16:03:21 +00:00
test: wait on the seed script's own git sync push in e2e tests (#11854)
* test: wait on the seed script's own git sync push in e2e tests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: TEMP loop git sync e2e with race diagnostics (to be dropped) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
47b736ef27
commit
db3814f8f9
@@ -206,14 +206,21 @@ jobs:
|
||||
curl -sf http://localhost:8000/api/version > /dev/null || { echo "Windmill failed to start"; exit 1; }
|
||||
|
||||
- name: Run git sync E2E tests
|
||||
timeout-minutes: 10
|
||||
timeout-minutes: 75
|
||||
env:
|
||||
GITEA_DOCKER_URL: http://localhost:3000
|
||||
LICENSE_KEY: ${{ secrets.WM_LICENSE_KEY_CI }}
|
||||
run: |
|
||||
python3 -m venv .venv
|
||||
.venv/bin/pip install -r integration_tests/requirements.txt
|
||||
cd integration_tests && ../.venv/bin/python -m unittest -v test.git_sync_test
|
||||
cd integration_tests
|
||||
fails=0
|
||||
for i in $(seq 1 8); do
|
||||
echo "TEMP-LOOP iteration $i"
|
||||
../.venv/bin/python -m unittest -v test.git_sync_test || fails=$((fails+1))
|
||||
done
|
||||
echo "TEMP-LOOP failed iterations: $fails"
|
||||
[ "$fails" = 0 ]
|
||||
|
||||
- name: Archive logs
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user