Skip to content

Commit

Permalink
Merge pull request #3107 from dulanjalidilmi/git_actions_jdk
Browse files Browse the repository at this point in the history
Update git actions
  • Loading branch information
dulanjalidilmi authored Feb 13, 2024
2 parents d7ba885 + a97e5e2 commit 0b5dd61
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 2 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/jdk-17-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,26 @@ on: [push, pull_request]
jobs:
ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- id: 1
profile: tests-mediators_tests-other_tests-sample
- id: 2
profile: tests-service_tests-patches_service-samples
- id: 3
profile: tests-transport_tests-platform
- id: 4
profile: management-api_dss-tests
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2
restore-keys: ${{ runner.os }}-m2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
Expand All @@ -27,5 +45,7 @@ jobs:
run: echo "MAVEN_VERSION=$(mvn -v)"
- name: check java version
run: echo "JAVA_VERSION=$(java -version)"
- name: Print segment
run: echo "Running build for segment ${{ matrix.profile }}"
- name: JDK 17 Tests
run: mvn -B clean install --file integration/pom.xml -fae
run: mvn -B clean install --file integration/pom.xml -P ${{ matrix.profile }} -fae
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void uploadSynapseConfig() throws Exception {
loadESBConfigurationFromClasspath("/artifacts/ESB/proxyconfig/proxy/protocolViolationProxy/synapse.xml");
}

@Test(groups = { "wso2.esb" }, description = "Creating Protocol Violation test", enabled = true)
@Test(groups = { "wso2.esb" }, description = "Creating Protocol Violation test", enabled = false)
public void testSOAP11FaultActor() throws AxisFault {
String messageBody = createRequest();
String reposnce = httpClient(getProxyServiceURLHttp("HelloProxy"), messageBody);
Expand Down
40 changes: 40 additions & 0 deletions integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,46 @@
<!-- <module>cli-tests</module>-->
</modules>
</profile>
<profile>
<id>tests-mediators_tests-other_tests-sample</id>
<modules>
<module>samples/product</module>
<module>automation-extensions</module>
<module>tests-common</module>
<module>mediation-tests/tests-mediator-1</module>
<module>mediation-tests/tests-other</module>
<module>mediation-tests/tests-sample</module>
</modules>
</profile>
<profile>
<id>tests-service_tests-patches_service-samples</id>
<modules>
<module>samples/product</module>
<module>automation-extensions</module>
<module>tests-common</module>
<module>mediation-tests/tests-service</module>
<module>mediation-tests/tests-patches</module>
<module>mediation-tests/service-samples</module>
</modules>
</profile>
<profile>
<id>tests-transport_tests-platform</id>
<modules>
<module>samples/product</module>
<module>automation-extensions</module>
<module>tests-common</module>
<module>mediation-tests/tests-transport</module>
<module>mediation-tests/tests-transport-2</module>
<module>mediation-tests/tests-platform</module>
</modules>
</profile>
<profile>
<id>management-api_dss-tests</id>
<modules>
<module>management-api-tests</module>
<module>dataservice-hosting-tests</module>
</modules>
</profile>
<profile>
<id>tests-service_patches_servicesamples_dss</id>
<modules>
Expand Down

0 comments on commit 0b5dd61

Please sign in to comment.