Skip to content

Commit

Permalink
Integrate Allure with Synapse (#642)
Browse files Browse the repository at this point in the history
* integrate allure with synapse

* change pytest plugin
  • Loading branch information
swetha1654 authored Jan 8, 2025
1 parent 89884e5 commit 716d939
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Integration tests

on:
pull_request:
schedule:
# Trigger at 6:00 AM and 6:00 PM UTC
- cron: "0 6,18 * * *"

jobs:
integration-tests:
Expand All @@ -14,3 +17,8 @@ jobs:
juju-channel: 3.4/stable
channel: 1.28-strict/stable
modules: '["test_charm", "test_nginx", "test_s3", "test_scaling", "test_matrix_auth"]'
allure-report:
if: ${{ (success() || failure()) && github.event_name == 'schedule' }}
needs:
- integration-tests
uses: canonical/operator-workflows/.github/workflows/allure_report.yaml@main
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ psycopg2-binary ==2.9.10
pydantic ==2.10.3
python-ulid ==3.0.0
requests ==2.32.3
allure-pytest>=2.8.18
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ deps =
boto3
# Type error problem with newer version of macaroonbakery
macaroonbakery==1.3.2
git+https://github.com/canonical/data-platform-workflows@v24.0.0\#subdirectory=python/pytest_plugins/allure_pytest_collection_report
-r{toxinidir}/requirements.txt
commands =
pytest -v -x --tb native --ignore={[vars]tst_path}unit --log-cli-level=INFO -s {posargs}

0 comments on commit 716d939

Please sign in to comment.