DeepLX/.github/workflows/e2e.yaml
Bonny07 de300d16b5 test(e2e): add live DeepL compatibility test suite
Gated behind the e2e build tag so default go test and existing CI are unaffected. Covers free-endpoint translation, autodetection, input validation, and a paced no-429 upstream-compatibility canary, plus a scheduled/manual workflow.
2026-05-31 15:24:39 +09:00

24 lines
555 B
YAML

name: E2E (DeepL compatibility)
on:
workflow_dispatch:
schedule:
# Daily canary: catches the day DeepL changes its anti-bot scheme and
# DeepLX starts 429-ing, before users pile in with issues.
- cron: "17 2 * * *"
permissions:
contents: read
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Run live DeepL E2E tests
run: go test -tags=e2e -v -timeout=10m ./translate/...