Skip to content

Commit 211ed63

Browse files
committed
Use Codecov.
1 parent fa4e8de commit 211ed63

File tree

4 files changed

+9
-25
lines changed

4 files changed

+9
-25
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,14 @@ jobs:
4949
mvn install -B -q -DskipTests
5050
popd
5151
- name: Build with Maven
52-
run: mvn -Dlogging.config.file=./logging.ci.properties verify -B -Pjacoco coveralls:report -DrepoToken=$COVERALLS_REPO_TOKEN
52+
run: mvn -Dlogging.config.file=./logging.ci.properties verify -B -Pjacoco
53+
- name: Upload coverage reports to Codecov
54+
uses: codecov/codecov-action@v5
55+
with:
56+
token: $CODECOV_TOKEN
57+
slug: ponder-lab/ML
5358
env:
54-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
59+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5560
- name: Deploy with Maven
5661
run: mvn -s .travis.settings.xml -Dgithub.username=$GITHUB_USERNAME -Dgithub.password=$GITHUB_TOKEN deploy -DskipTests -B
5762
env:

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ install:
1919
- mvn install -B -q -DskipTests
2020
- popd
2121
script:
22-
- mvn -Dlogging.config.file=./logging.ci.properties verify -Pjacoco coveralls:report -DrepoToken=$COVERALLS_REPO_TOKEN -B
22+
- mvn -Dlogging.config.file=./logging.ci.properties verify -Pjacoco -B
2323
deploy:
2424
provider: script
2525
script: mvn -s .travis.settings.xml -Dgithub.username=$GITHUB_USERNAME -Dgithub.password=$GITHUB_TOKEN deploy -DskipTests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Ariadne](https://wala.github.io/ariadne/)
22

3-
[![Continuous integration](https://github.com/ponder-lab/ML/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/ponder-lab/ML/actions/workflows/continuous-integration.yml) [![Coverage Status](https://coveralls.io/repos/github/ponder-lab/ML/badge.svg)](https://coveralls.io/github/ponder-lab/ML)
3+
[![Continuous integration](https://github.com/ponder-lab/ML/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/ponder-lab/ML/actions/workflows/continuous-integration.yml) [![codecov](https://codecov.io/gh/ponder-lab/ML/graph/badge.svg)](https://codecov.io/gh/ponder-lab/ML)
44

55
This is the top level repository for Ariadne code. More information on using the Ariadne tools can be found [here](https://wala.github.io/ariadne/). This repository is code to analyze machine learning code with [WALA]. Currently, the code consists of the analysis of Python (`com.ibm.wala.cast.python`), analysis focused on machine learning in Python (`com.ibm.wala.cast.python.ml`), support for using the analysis via J2EE WebSockets (`com.ibm.wala.cast.python.ml.j2ee`) and their associated test projects.
66

pom.xml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -267,27 +267,6 @@
267267
<activeByDefault>false</activeByDefault>
268268
</activation>
269269
<build>
270-
<pluginManagement>
271-
<plugins>
272-
<plugin>
273-
<groupId>com.github.hazendaz.maven</groupId>
274-
<artifactId>coveralls-maven-plugin</artifactId>
275-
<version>4.7.0</version>
276-
<configuration>
277-
<jacocoReports>
278-
<jacocoReport>${project.basedir}/com.ibm.wala.cast.python.report/target/site/jacoco-aggregate/jacoco.xml</jacocoReport>
279-
</jacocoReports>
280-
</configuration>
281-
<dependencies>
282-
<dependency>
283-
<groupId>javax.xml.bind</groupId>
284-
<artifactId>jaxb-api</artifactId>
285-
<version>2.3.1</version>
286-
</dependency>
287-
</dependencies>
288-
</plugin>
289-
</plugins>
290-
</pluginManagement>
291270
<plugins>
292271
<plugin>
293272
<groupId>org.jacoco</groupId>

0 commit comments

Comments
 (0)