Skip to content

Commit

Permalink
test: integration slack notification fix + parameter on client public…
Browse files Browse the repository at this point in the history
…ation (#946)

Signed-off-by: Allain Magyar <[email protected]>
  • Loading branch information
amagyar-iohk authored Mar 25, 2024
1 parent 43a2e7f commit ce99ff5
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:

- name: Upload artifacts
if: github.ref_name == 'main' || steps.analyze_test_results.outputs.conclusion == 'failure'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: integration-tests-result
path: ${{ env.REPORTS_DIR }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-clients.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Publish prism-agent clients

on:
workflow_dispatch:
inputs:
releaseTag:
description: "Tag to release clients (e.g. prism-agent-v1.31.0)"
required: true
type: string
push:
tags:
- "prism-agent-v*"
Expand All @@ -11,7 +16,7 @@ jobs:
name: 'Build and publish Prism-Agent clients'
runs-on: ubuntu-latest
env:
VERSION_TAG: ${{github.ref_name}}
VERSION_TAG: ${{inputs.releaseTag || github.ref_name}}
ATALA_GITHUB_ACTOR: ${{secrets.ATALA_GITHUB_ACTOR}}
ATALA_GITHUB_TOKEN: ${{secrets.ATALA_GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }}
Expand Down
13 changes: 12 additions & 1 deletion tests/integration-tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ plugins {
group = "io.iohk.atala.prism"
version = "1.0-SNAPSHOT"

buildscript {
dependencies {
classpath("net.serenity-bdd:serenity-single-page-report:4.1.4")
classpath("net.serenity-bdd:serenity-json-summary-report:4.1.4")
}
}

repositories {
mavenLocal()
mavenCentral()
Expand All @@ -34,7 +41,10 @@ dependencies {
testImplementation("com.sksamuel.hoplite:hoplite-hocon:2.7.5")
// Kotlin compose
testImplementation("org.testcontainers:testcontainers:1.19.1")
}

serenity {
reports = listOf("single-page-html", "json-summary")
}

tasks.register<Delete>("cleanTarget") {
Expand All @@ -43,6 +53,7 @@ tasks.register<Delete>("cleanTarget") {

tasks.test {
dependsOn("cleanTarget")
finalizedBy("reports")
testLogging.showStandardStreams = true
systemProperty("cucumber.filter.tags", System.getProperty("cucumber.filter.tags"))
}
Expand Down Expand Up @@ -74,7 +85,7 @@ afterEvaluate {
systemProperty("PRISM_NODE_VERSION", System.getenv("PRISM_NODE_VERSION") ?: "")
systemProperty("OPEN_ENTERPRISE_AGENT_VERSION", System.getenv("OPEN_ENTERPRISE_AGENT_VERSION") ?: "")
systemProperty("cucumber.filter.tags", System.getProperty("cucumber.filter.tags"))
finalizedBy("aggregate")
finalizedBy("aggregate", "reports")
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package steps
package steps.schemas

import common.TestConstants
import interactions.Get
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package features.verificationpolicies
package steps.verificationpolicies

import common.TestConstants
import interactions.Get
Expand Down

0 comments on commit ce99ff5

Please sign in to comment.