Skip to content

Commit 5fac89c

Browse files
ci: add test_audit_cancel.py to xtest workflow
Runs audit cancel tests after ABAC tests with the same multi-KAS and audit log environment. Runs without parallel execution to avoid timing flakiness from staggered process kill assertions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7dea6ba commit 5fac89c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/xtest.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,30 @@ jobs:
633633
KAS_KM1_LOG_FILE: "../../${{ steps.kas-km1.outputs.log-file }}"
634634
KAS_KM2_LOG_FILE: "../../${{ steps.kas-km2.outputs.log-file }}"
635635

636+
- name: Run audit cancel tests
637+
if: ${{ steps.multikas.outputs.supported == 'true' }}
638+
run: >-
639+
uv run pytest
640+
-ra
641+
-v
642+
--html test-results/audit-cancel-${FOCUS_SDK}-${PLATFORM_TAG}.html
643+
--self-contained-html
644+
--audit-log-dir test-results/audit-logs
645+
--sdks-encrypt "${ENCRYPT_SDK}"
646+
--focus "$FOCUS_SDK"
647+
test_audit_cancel.py
648+
working-directory: otdftests/xtest
649+
env:
650+
PLATFORM_DIR: "../../${{ steps.run-platform.outputs.platform-working-dir }}"
651+
PLATFORM_TAG: ${{ matrix.platform-tag }}
652+
PLATFORM_LOG_FILE: "../../${{ steps.run-platform.outputs.platform-log-file }}"
653+
KAS_ALPHA_LOG_FILE: "../../${{ steps.kas-alpha.outputs.log-file }}"
654+
KAS_BETA_LOG_FILE: "../../${{ steps.kas-beta.outputs.log-file }}"
655+
KAS_GAMMA_LOG_FILE: "../../${{ steps.kas-gamma.outputs.log-file }}"
656+
KAS_DELTA_LOG_FILE: "../../${{ steps.kas-delta.outputs.log-file }}"
657+
KAS_KM1_LOG_FILE: "../../${{ steps.kas-km1.outputs.log-file }}"
658+
KAS_KM2_LOG_FILE: "../../${{ steps.kas-km2.outputs.log-file }}"
659+
636660
- name: Upload artifact
637661
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
638662
id: upload-artifact

0 commit comments

Comments
 (0)