Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/stage-4-acceptance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,28 @@ jobs:
- name: "Save result"
run: |
echo "Nothing to save"
- name: Upload Integration Test Results
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-test-results
path: integration-test-results.xml
- name: Gather Integration Test Summaries
if: always()
uses: actions/download-artifact@v4
with:
path: summary
pattern: ci-summary-*
merge-multiple: true
- name: Integration Test Report
if: always()
uses: phoenix-actions/test-reporting@v15
with:
name: Integration Test Summary
path: integration-test-results.xml
reporter: java-junit
output-to: step-summary

test-accessibility:
name: "Accessibility test"
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion scripts/tests/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ cd "$(git rev-parse --show-toplevel)"
# tasks in scripts/test.mk.

make dependencies install-python
poetry run pytest tests/integration/ --durations=10 --cov-report= --cov src/
poetry run pytest tests/integration/ --durations=10 --cov-report= --cov src/ --disable-warnings --tb=short --junitxml=integration-test-results.xml
2 changes: 1 addition & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class FunctionNotActiveError(Exception):


def wait_for_function_active(function_name, lambda_client):
for attempt in stamina.retry_context(on=FunctionNotActiveError):
for attempt in stamina.retry_context(on=FunctionNotActiveError, attempts=20, timeout=120):
with attempt:
logger.info("waiting")
response = lambda_client.get_function(FunctionName=function_name)
Expand Down
Loading