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 ad18a9c
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 4 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
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: 1
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
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
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 ad18a9c

Please sign in to comment.