Skip to content

Commit

Permalink
test: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov committed Oct 14, 2023
1 parent eda6c0a commit 05602e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Integration tests

concurrency:
group: ${{ github.head_ref }}${{ github.ref }}-e2e-tests
group: ${{ github.head_ref }}${{ github.ref }}-integration-tests
cancel-in-progress: true

on:
Expand All @@ -16,14 +16,14 @@ on:
defaults:
run:
shell: bash
working-directory: "tests/e2e-tests"
working-directory: "tests/integration-tests"

jobs:
run-e2e-tests:
run-integration-tests:
name: "Run e2e tests"
runs-on: ubuntu-latest
env:
REPORTS_DIR: "tests/e2e-tests/target/site/serenity"
REPORTS_DIR: "tests/integration-tests/target/site/serenity"
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -99,10 +99,10 @@ jobs:
distribution: 'zulu'
java-version: '19'

- name: Run e2e tests
- name: Run integration tests
continue-on-error: true
run: |
./gradlew test --tests "E2eTestsRunner" || true
./gradlew test --tests "IntegrationTestsRunner" || true
./gradlew reports
- name: Extract test results
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
if: github.ref_name == 'main' || steps.analyze_test_results.outputs.conclusion == 'failure'
uses: actions/upload-artifact@v2
with:
name: e2e-tests-result
name: integration-tests-result
path: ${{ env.REPORTS_DIR }}

- name: Slack Notification
Expand Down
31 changes: 0 additions & 31 deletions tests/e2e-tests/src/main/kotlin/api_models/Credential.kt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import org.junit.runner.RunWith
]
)
@RunWith(CucumberWithSerenity::class)
class E2eTestsRunner
class IntegrationTestsRunner

0 comments on commit 05602e4

Please sign in to comment.