@@ -59,18 +59,42 @@ jobs:
59
59
- run : poetry install --no-root --all-extras
60
60
- run : poe lint
61
61
- run : poe build-develop
62
- - run : poe test -s -o log_cli_level=DEBUG
62
+ - run : poe test -s --alluredir allure-results - o log_cli_level=DEBUG
63
63
# Time skipping doesn't yet support ARM
64
64
- if : ${{ !endsWith(matrix.os, '-arm') }}
65
- run : poe test -s -o log_cli_level=DEBUG --workflow-environment time-skipping
65
+ run : poe test -s --alluredir allure-results - o log_cli_level=DEBUG --workflow-environment time-skipping
66
66
# Check cloud if proper target and not on fork
67
67
- if : ${{ matrix.cloudTestTarget && (github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-python') }}
68
- run : poe test -s -o log_cli_level=DEBUG -k test_cloud_client
68
+ run : poe test -s --alluredir allure-results - o log_cli_level=DEBUG -k test_cloud_client
69
69
env :
70
70
TEMPORAL_CLIENT_CLOUD_API_KEY : ${{ secrets.TEMPORAL_CLIENT_CLOUD_API_KEY }}
71
71
TEMPORAL_CLIENT_CLOUD_API_VERSION : 2024-05-13-00
72
72
TEMPORAL_CLIENT_CLOUD_NAMESPACE : sdk-ci.a2dd6
73
73
74
+ # https://allurereport.org/docs/integrations-github/
75
+
76
+ - name : " Allure: load test report history"
77
+ uses : actions/checkout@v4
78
+ if : always()
79
+ continue-on-error : true
80
+ with :
81
+ ref : gh-pages
82
+ path : allure-data
83
+ - name : " Allure: build test report"
84
+ uses :
simple-elf/[email protected]
85
+ if : always()
86
+ with :
87
+ gh_pages : allure-data
88
+ allure_history : allure-history
89
+ allure_results : allure-results
90
+ - name : " Allure: publish test report"
91
+ uses : peaceiris/actions-gh-pages@v4
92
+ if : always()
93
+ with :
94
+ github_token : ${{ secrets.GITHUB_TOKEN }}
95
+ publish_branch : gh-pages
96
+ publish_dir : allure-history
97
+
74
98
# Confirm protos are already generated properly with older protobuf
75
99
# library and run test with that older version. We must downgrade protobuf
76
100
# so we can generate 3.x and 4.x compatible API. We have to use older
0 commit comments