mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-08-03 17:58:42 +02:00
chore: disable e2e in ci
This commit is contained in:
@@ -36,35 +36,20 @@ jobs:
|
||||
--lockfile=src-tauri/Cargo.lock
|
||||
./
|
||||
|
||||
sync-e2e:
|
||||
name: Sync E2E Tests
|
||||
uses: ./.github/workflows/sync-e2e.yml
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
app-e2e:
|
||||
name: Cross-platform App E2E
|
||||
uses: ./.github/workflows/app-e2e.yml
|
||||
secrets:
|
||||
WAYFERN_TEST_TOKEN: ${{ secrets.WAYFERN_TEST_TOKEN }}
|
||||
permissions:
|
||||
contents: read
|
||||
# E2E suites deliberately do not run here. They need real credentials, Docker,
|
||||
# and a desktop session, which CI could not supply reliably. They are run
|
||||
# locally instead; see the E2E section of AGENTS.md.
|
||||
|
||||
pr-status:
|
||||
name: PR Status Check
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-js, lint-rust, security-scan, sync-e2e, app-e2e]
|
||||
needs: [lint-js, lint-rust, security-scan]
|
||||
if: always()
|
||||
steps:
|
||||
- name: Check all jobs succeeded
|
||||
run: |
|
||||
if [[ "${{ needs.lint-js.result }}" != "success" || "${{ needs.lint-rust.result }}" != "success" || "${{ needs.security-scan.result }}" != "success" || "${{ needs.app-e2e.result }}" != "success" ]]; then
|
||||
if [[ "${{ needs.lint-js.result }}" != "success" || "${{ needs.lint-rust.result }}" != "success" || "${{ needs.security-scan.result }}" != "success" ]]; then
|
||||
echo "One or more checks failed"
|
||||
exit 1
|
||||
fi
|
||||
# sync-e2e is optional (only runs when sync-related files change)
|
||||
if [[ "${{ needs.sync-e2e.result }}" == "failure" ]]; then
|
||||
echo "Sync E2E tests failed"
|
||||
exit 1
|
||||
fi
|
||||
echo "All checks passed!"
|
||||
|
||||
Reference in New Issue
Block a user