logos-delivery/.github/workflows/e2e-api-tests.yml
Egor Rachkovskii 35587c322b
Add in-repo API/e2e test suite (tests-e2e)
Migrate the liblogosdelivery API/wrapper pytest suite into tests-e2e/ and run it in CI (e2e-api-tests.yml) against the built library. Edge senders use the real lightpush path (relay=False).
2026-07-16 23:31:25 +01:00

35 lines
935 B
YAML

name: e2e-api-tests
on:
workflow_call:
jobs:
api-e2e:
runs-on: ubuntu-22.04
timeout-minutes: 45
name: api-e2e
steps:
- name: Checkout code
uses: actions/checkout@v4
# Consumes the shared library built by ci.yml's `build` job (same run).
- name: Download liblogosdelivery.so
uses: actions/download-artifact@v4
with:
name: liblogosdelivery
path: tests-e2e/vendor/logos-delivery-python-bindings/lib
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
cache-dependency-path: tests-e2e/requirements.txt
- name: Install Python deps
run: pip install -r tests-e2e/requirements.txt
- name: Run API/e2e tests (non-docker subset)
working-directory: tests-e2e
run: pytest tests/wrappers_tests -m "not docker_required" --reruns 2