Skip to content

Commit 20de453

Browse files
feat(test): add compatibility test for DSP
1 parent 04c5f1b commit 20de453

40 files changed

+157
-1847
lines changed

.github/workflows/nightly-tests.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Run Nightly Tests"
2+
on:
3+
schedule:
4+
- "0 0 * * *" # run at 00:00 UTC
5+
workflow_dispatch:
6+
7+
concurrency:
8+
group: ${{ github.workflow}}-${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
Run-Dsp-Compatibility-Test:
13+
name: "Run DSP Compatibility Test"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: eclipse-edc/.github/.github/actions/setup-build@main
18+
- name: DSP Compatibility
19+
run: |
20+
./gradlew -p system-tests/dsp-compatibility-tests test -DincludeTags="NightlyTest" -PverboseTest=true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/*
2+
* Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
3+
*
4+
* This program and the accompanying materials are made available under the
5+
* terms of the Apache License, Version 2.0 which is available at
6+
* https://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* SPDX-License-Identifier: Apache-2.0
9+
*
10+
* Contributors:
11+
* Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation
12+
*
13+
*/
14+
15+
package org.eclipse.edc.junit.annotations;
16+
17+
import org.junit.jupiter.api.Tag;
18+
19+
import java.lang.annotation.ElementType;
20+
import java.lang.annotation.Retention;
21+
import java.lang.annotation.RetentionPolicy;
22+
import java.lang.annotation.Target;
23+
24+
/**
25+
* Annotation for Nightly testing. This is typically triggered by a nightly build action from CI.
26+
*/
27+
@Target({ ElementType.TYPE })
28+
@Retention(RetentionPolicy.RUNTIME)
29+
@IntegrationTest
30+
@Tag("NightlyTest")
31+
public @interface NightlyTest {
32+
}
33+

extensions/tck-extension/build.gradle.kts

-33
This file was deleted.

extensions/tck-extension/src/main/java/org/eclipse/edc/tck/dsp/controller/ContractNegotiationRequest.java

-25
This file was deleted.

extensions/tck-extension/src/main/java/org/eclipse/edc/tck/dsp/controller/TckControllerExtension.java

-52
This file was deleted.

extensions/tck-extension/src/main/java/org/eclipse/edc/tck/dsp/controller/TckWebhookController.java

-63
This file was deleted.

extensions/tck-extension/src/main/java/org/eclipse/edc/tck/dsp/data/DataAssembly.java

-165
This file was deleted.

0 commit comments

Comments
 (0)