File tree Expand file tree Collapse file tree 2 files changed +43
-4
lines changed
Expand file tree Collapse file tree 2 files changed +43
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Backward Compatibility Tests
2+ on :
3+ push :
4+ pull_request :
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
8+ cancel-in-progress : true
9+
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ repository-plugin-check :
15+ if : github.repository == 'opensearch-project/OpenSearch'
16+ runs-on : ubuntu-latest
17+ continue-on-error : true
18+ timeout-minutes : 60
19+ steps :
20+ - uses : actions/checkout@v6
21+
22+ - name : Remove unnecessary files
23+ run : |
24+ sudo rm -rf /usr/share/dotnet
25+ sudo rm -rf "$AGENT_TOOLSDIRECTORY"
26+
27+ - name : Set up JDK 21
28+ uses : actions/setup-java@v5
29+ with :
30+ java-version : 21
31+ distribution : temurin
32+ cache : gradle
33+
34+ - name : Run bwcTestSnapshots
35+ run : ./gradlew bwcTestSnapshots
36+
37+ - name : Upload test results
38+ if : always()
39+ uses : actions/upload-artifact@v4
40+ with :
41+ name : bwc-test-snapshots-test-results
42+ path : bwc-test-snapshots/build/reports/tests/
43+ retention-days : 7
Original file line number Diff line number Diff line change @@ -35,8 +35,4 @@ tasks.withType(Test).configureEach {
3535 onlyIf { project. bwc_tests_enabled }
3636}
3737
38- tasks. named(" check" ). configure {
39- dependsOn(bwcTestSnapshots)
40- }
41-
4238tasks. findByName(" test" )?. enabled = false
You can’t perform that action at this time.
0 commit comments