Skip to content
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
dac09d0
Fixed testcase failures
Apr 1, 2022
1b3e871
Update SubscriptionNotificationSteps.java
jainadc9 Apr 1, 2022
11bb10a
Fixed testcase failures
Apr 7, 2022
4c8f18d
Merge branch 'eiffel-community:master' into master
jainadc9 Apr 27, 2022
0e15159
Create github action main.yml
jainadc9 May 2, 2022
c3c2a08
Update main.yml
jainadc9 May 2, 2022
f9cd535
Delete .travis.yml
jainadc9 May 4, 2022
36a6ffe
Merge pull request #1 from jainadc9/jainadc9-github-action
jainadc9 May 4, 2022
ae57fd4
Update main.yml
jainadc9 May 4, 2022
0a194d6
Update main.yml
jainadc9 May 4, 2022
79ffc78
Update main.yml
jainadc9 May 4, 2022
a1d9a72
Update main.yml
jainadc9 May 4, 2022
63f0fe1
Update main.yml
jainadc9 May 4, 2022
50c5fbb
Update main.yml
jainadc9 May 4, 2022
0e143d5
Update main.yml
jainadc9 May 4, 2022
59dfb3d
Update main.yml
jainadc9 May 4, 2022
940e0ce
Update main.yml
jainadc9 May 4, 2022
03712ec
Update main.yml
jainadc9 May 5, 2022
b543976
Update main.yml
jainadc9 May 5, 2022
4dab3ac
Update main.yml
jainadc9 May 5, 2022
59ace48
Update main.yml
jainadc9 May 5, 2022
e5517d9
Update main.yml
jainadc9 May 5, 2022
d4625e3
Update main.yml
jainadc9 May 5, 2022
8b30b47
Update main.yml
jainadc9 May 5, 2022
ce43131
Update main.yml
jainadc9 May 5, 2022
24cf91c
Update main.yml
jainadc9 May 6, 2022
911f0ae
Update main.yml
jainadc9 May 6, 2022
796edb8
Update main.yml
jainadc9 May 6, 2022
ea36809
Update main.yml
jainadc9 May 6, 2022
edb10c4
Update main.yml
jainadc9 May 6, 2022
6c5d335
Update main.yml
jainadc9 May 6, 2022
4fa316f
Update main.yml
jainadc9 May 9, 2022
095539d
Update main.yml
jainadc9 May 9, 2022
eace985
Update main.yml
jainadc9 May 9, 2022
58e15bd
Update main.yml
jainadc9 May 9, 2022
2f1ccf6
Update main.yml
jainadc9 May 16, 2022
df1c7f2
Update main.yml
jainadc9 May 16, 2022
3d263b5
Update main.yml
jainadc9 May 16, 2022
8ba76ba
Update main.yml
jainadc9 May 16, 2022
9ec8201
Update main.yml
jainadc9 May 16, 2022
265c4a7
Merge branch 'master' into master
jainadc9 May 16, 2022
47e88b1
Update main.yml
jainadc9 May 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
unitAndFunctionalTests:
unitAndFunctionalTests:
if: github.repository == 'eiffel-community/eiffel-intelligence'
# The type of runner that the job will run on
runs-on: ubuntu-18.04
env:
Expand Down Expand Up @@ -59,6 +60,7 @@ jobs:
mvn test -DskipITs -Dsurefire.rerunFailingTestsCount=2 -Djasypt.encryptor.password=secret -Dspring.config.location=src/functionaltests/resources/application.properties -B

integrationTests:
if: github.repository == 'eiffel-community/eiffel-intelligence'
# The type of runner that the job will run on
runs-on: ubuntu-18.04
env:
Expand Down Expand Up @@ -103,6 +105,7 @@ jobs:
mvn verify -DskipUTs -Djasypt.encryptor.password=integrationtest -Dspring.config.location=src/integrationtests/resources/application.properties -B

reportCoverage:
if: github.repository == 'eiffel-community/eiffel-intelligence' && github.event_name == 'push'
# The type of runner that the job will run on
runs-on: ubuntu-18.04
env:
Expand Down Expand Up @@ -133,11 +136,14 @@ jobs:
tar xf /tmp/apache-maven-3.6.3-bin.tar.gz -C /opt
echo "${M2_HOME}/bin" >> $GITHUB_PATH

# Generating test coverage report and publishing to Codacy
- name: Run report coverage
- name: Run cobertura
shell: bash
run: |
mvn --version
mvn cobertura:cobertura -Dcobertura.report.format=xml -B
curl -LSs $(curl -LSs https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r '.assets | map({content_type, browser_download_url} | select(.content_type | contains("application/octet-stream"))) | .[0].browser_download_url') -o codacy-coverage-reporter-assembly.jar
java -jar codacy-coverage-reporter-assembly.jar report -l Java -r target/site/cobertura/coverage.xml
mvn cobertura:cobertura -Dcobertura.report.format=xml -B

# Generating test coverage report and publishing to Codacy
- name: Run report coverage
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: 571cdd20d4bf435f84b25d806d304792
coverage-reports: target/site/cobertura/coverage.xml