Skip to content

Commit a63f53e

Browse files
committed
fix: update repo with calculator app and GHA + CircleCI
1 parent d185350 commit a63f53e

File tree

15 files changed

+100
-344
lines changed

15 files changed

+100
-344
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: maven
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 10

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Workflow for Codecov example-java-maven
2+
on: [push, pull_request]
3+
jobs:
4+
run:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v2
9+
- name: Set up JDK 18
10+
uses: actions/setup-java@v1
11+
with:
12+
java-version: 18
13+
- name: Install dependencies, run tests, and collect coverage
14+
run: gradle build
15+
- name: Upload coverage to Codecov
16+
uses: codecov/codecov-action@v3

.gitignore

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,2 @@
1-
# Created by .ignore support plugin (hsz.mobi)
2-
### Java template
3-
*.class
4-
5-
# Package Files #
6-
*.jar
7-
8-
### Maven template
9-
target/
10-
pom.xml.tag
11-
pom.xml.releaseBackup
12-
pom.xml.versionsBackup
13-
pom.xml.next
14-
release.properties
15-
dependency-reduced-pom.xml
16-
buildNumber.properties
17-
.mvn/timing.properties
18-
19-
### JetBrains template
20-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
21-
22-
*.iml
23-
24-
## Directory-based project format:
25-
.idea/
26-
27-
28-
### Gradle template
29-
.gradle
1+
.gradle/
302
build/
31-
32-
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
33-
!gradle-wrapper.jar
34-

.travis.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
group 'org.jacoco'
2-
version '1.0-SNAPSHOT'
1+
group 'io.codecov'
2+
version '1.0'
33

44
apply plugin: 'java'
55
apply plugin: 'jacoco'
66

7-
sourceCompatibility = 1.7
8-
targetCompatibility = 1.7
7+
sourceCompatibility = 18
8+
targetCompatibility = 18
99

1010
repositories {
1111
mavenCentral()
1212
}
1313

1414
dependencies {
15-
testCompile group: 'junit', name: 'junit', version: '4.11'
15+
testImplementation "junit:junit:4.13"
1616
}
1717

1818
jacocoTestReport {
1919
reports {
20-
xml.enabled true
21-
html.enabled false
20+
xml.required true
21+
html.required false
2222
}
2323
}
2424

circle.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

gradle/wrapper/gradle-wrapper.jar

-51 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 0 additions & 5 deletions
This file was deleted.

gradlew

Lines changed: 0 additions & 164 deletions
This file was deleted.

gradlew.bat

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)