Skip to content

Commit

Permalink
Merge pull request #3426 from slahirucd7/choreo
Browse files Browse the repository at this point in the history
Integration test pom file change to display the test logs
  • Loading branch information
slahirucd7 authored Aug 31, 2023
2 parents 746de63 + bf86f04 commit c7623d4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
Expand Down Expand Up @@ -35,6 +35,17 @@ jobs:
id: extract-project-version
- name: Print Maven project version
run: echo ${{ steps.extract-project-version.outputs.version }}
- name: Generate proto API
run: sudo sh api/protogen.sh
- name: Check for uncommitted changes
run: |
if [[ `git status --porcelain` ]]; then
echo "There are uncommitted changes"
git status
exit 1
else
echo "No changes"
fi
- name: Build with Maven
run: |
export GOFLAGS=-mod=mod
Expand Down
6 changes: 6 additions & 0 deletions integration/test-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,12 @@
<groupId>org.wso2.choreo.connect</groupId>
<artifactId>org.wso2.choreo.connect.enforcer</artifactId>
<version>${project.parent.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.wso2.choreo.connect</groupId>
Expand Down

0 comments on commit c7623d4

Please sign in to comment.