Skip to content

Commit

Permalink
ci: add e2e execution when merge to main
Browse files Browse the repository at this point in the history
  • Loading branch information
amagyar-iohk committed Sep 22, 2023
1 parent f10cdea commit 78d0bed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ on:
pull_request:
branches:
- main
push:
branches:
- main

env:
ATALA_GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }}
Expand Down
17 changes: 7 additions & 10 deletions tests/end-to-end/src/test/kotlin/io/iohk/atala/prism/TestSuite.kt
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
package io.iohk.atala.prism

import io.cucumber.java.BeforeAll
import io.cucumber.junit.CucumberOptions
import io.iohk.atala.prism.configuration.Environment
import net.serenitybdd.cucumber.CucumberWithSerenity
import org.junit.BeforeClass
import org.junit.runner.RunWith

@RunWith(CucumberWithSerenity::class)
@CucumberOptions(
features = ["src/test/resources/features"],
plugin = ["pretty"]
)
class TestSuite {
companion object {
@JvmStatic
@BeforeClass
fun setupEnvironment() {
Environment.setup()
}
}
}
class TestSuite

// https://cucumber.io/docs/cucumber/api/?lang=kotlin
@BeforeAll
fun setupEnvironment() {
Environment.setup()
}

0 comments on commit 78d0bed

Please sign in to comment.