Skip to content

Commit

Permalink
Update git actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dulanjalidilmi committed Feb 12, 2024
1 parent d7ba885 commit 14c40b5
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cluster-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Cluster tests (JDK17 & MySQL)

on: [push, pull_request]
on: [push]

jobs:
ubuntu:
Expand Down
20 changes: 20 additions & 0 deletions .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: 1
# profile: qwerty
## - 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
2 changes: 1 addition & 1 deletion .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Smoke Tests (JDK11)

on: [push, pull_request]
on: [push]

jobs:
others:
Expand Down
17 changes: 17 additions & 0 deletions integration/mediation-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,23 @@
<module>coverage-report</module>
</modules>
</profile>
<profile>
<id>qwerty</id>
<modules>
<module>service-samples</module>
<!-- <module>tests-transport</module>-->
<!-- <module>tests-transport-2</module>-->
<module>tests-service</module>
<!-- <module>tests-mediator-1</module>-->
<module>tests-mediator-2</module>
<!-- <module>tests-patches</module>-->
<!-- <module>tests-sample</module>-->
<!-- <module>tests-other</module>-->
<!-- <module>tests-platform</module>-->
<!-- <module>tests-http</module>-->
<module>coverage-report</module>
</modules>
</profile>
<profile>
<id>full</id>
<modules>
Expand Down
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
54 changes: 54 additions & 0 deletions integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,17 @@
<module>management-api-tests</module>
</modules>
</profile>
<profile>
<id>qwerty</id>
<modules>
<module>samples/product</module>
<module>automation-extensions</module>
<module>tests-common</module>
<module>mediation-tests</module>
<!-- <module>dataservice-hosting-tests</module>-->
<!-- <module>management-api-tests</module>-->
</modules>
</profile>
<profile>
<id>platform</id>
<modules>
Expand Down Expand Up @@ -931,6 +942,49 @@
<!-- <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/service-samples</module>
<!-- <module>mediation-tests/tests-mediator-1</module>-->
<module>mediation-tests/tests-mediator-2</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>
<module>mediation-tests/tests-mediator-2</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 14c40b5

Please sign in to comment.