-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5b9661
commit 7e02f7c
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,18 +59,42 @@ jobs: | |
- run: poetry install --no-root --all-extras | ||
- run: poe lint | ||
- run: poe build-develop | ||
- run: poe test -s -o log_cli_level=DEBUG | ||
- run: poe test -s --alluredir allure-results -o log_cli_level=DEBUG | ||
# Time skipping doesn't yet support ARM | ||
- if: ${{ !endsWith(matrix.os, '-arm') }} | ||
run: poe test -s -o log_cli_level=DEBUG --workflow-environment time-skipping | ||
run: poe test -s --alluredir allure-results -o log_cli_level=DEBUG --workflow-environment time-skipping | ||
# Check cloud if proper target and not on fork | ||
- if: ${{ matrix.cloudTestTarget && (github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-python') }} | ||
run: poe test -s -o log_cli_level=DEBUG -k test_cloud_client | ||
run: poe test -s --alluredir allure-results -o log_cli_level=DEBUG -k test_cloud_client | ||
env: | ||
TEMPORAL_CLIENT_CLOUD_API_KEY: ${{ secrets.TEMPORAL_CLIENT_CLOUD_API_KEY }} | ||
TEMPORAL_CLIENT_CLOUD_API_VERSION: 2024-05-13-00 | ||
TEMPORAL_CLIENT_CLOUD_NAMESPACE: sdk-ci.a2dd6 | ||
|
||
# https://allurereport.org/docs/integrations-github/ | ||
|
||
- name: "Allure: load test report history" | ||
uses: actions/checkout@v4 | ||
if: always() | ||
continue-on-error: true | ||
with: | ||
ref: gh-pages | ||
path: allure-data | ||
- name: "Allure: build test report" | ||
uses: simple-elf/[email protected] | ||
if: always() | ||
with: | ||
gh_pages: allure-data | ||
allure_history: allure-history | ||
allure_results: allure-results | ||
- name: "Allure: publish test report" | ||
uses: peaceiris/actions-gh-pages@v4 | ||
if: always() | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_branch: gh-pages | ||
publish_dir: allure-history | ||
|
||
# Confirm protos are already generated properly with older protobuf | ||
# library and run test with that older version. We must downgrade protobuf | ||
# so we can generate 3.x and 4.x compatible API. We have to use older | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters