Skip to content

Commit

Permalink
test: fix present proof tests and ci reporting (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov authored Aug 7, 2023
1 parent 301fbab commit d247bc0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ jobs:
json: "tests/e2e-tests/target/serenity-reports/cucumber_report.json"
execution_tag: ${{ env.XRAY_EXECUTION_TAG_LOCALHOST }}

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: e2e-tests-result
path: ${{ env.REPORTS_DIR }}

- name: Extract test results
id: analyze_test_results
if: github.ref_name == 'main'
Expand Down Expand Up @@ -155,14 +149,20 @@ jobs:
} >> "$GITHUB_OUTPUT"
- name: Publish e2e test Results
if: github.ref_name == 'main' || steps.analyze_test_results.outputs.conclusion == 'failure'
id: publish-unit-tests
uses: EnricoMi/publish-unit-test-result-action@v2
with:
junit_files: "${{ env.REPORTS_DIR }}/SERENITY-JUNIT-*.xml"
comment_title: "E2E Test Results"
check_name: "E2E Test Results"

- name: Upload artifacts
if: github.ref_name == 'main' || steps.analyze_test_results.outputs.conclusion == 'failure'
uses: actions/upload-artifact@v2
with:
name: e2e-tests-result
path: ${{ env.REPORTS_DIR }}

- name: Slack Notification
if: github.ref_name == 'main' && steps.analyze_test_results.outputs.conclusion == 'failure'
uses: rtCamp/action-slack-notify@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ data class PresentationProof(
var connectionId: String? = null,
var proofs: List<String>? = null,
var data: List<String>? = null,
var role: String? = null,
): JsonEncoded

object PresentationProofStatus {
Expand Down

0 comments on commit d247bc0

Please sign in to comment.