Skip to content

Commit

Permalink
Adjust Coveralls coverage info publication
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorbg authored and Gregor Billing committed May 6, 2021
1 parent b241922 commit 47468c3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 32 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Build with Gradle
run: ./gradlew build
- name: Push coverage data to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: ./gradlew yarn_coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: 'tnoodle-ui/coverage/lcov.info'
14 changes: 7 additions & 7 deletions tnoodle-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"build": "react-scripts build",
"test": "react-scripts test --watchAll --watchAll=false --coverage",
"eject": "react-scripts eject",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prettier": "prettier --check ."
},
"eslintConfig": {
Expand All @@ -53,16 +52,17 @@
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/index.js",
"!src/serviceWorker.js",
"!src/main/api/**.js",
"!**/Interceptor.jsx"
"src/**/*.{ts,tsx}",
"!src/index.tsx",
"!src/reportWebVitals.ts",
"!src/react-app-env.d.ts",
"!src/main/api/**.ts",
"!src/main/model/**.ts",
"!**/Interceptor.tsx"
]
},
"devDependencies": {
"@types/lodash": "^4.14.168",
"coveralls": "^3.1.0",
"prettier": "^2.2.1"
}
}
2 changes: 1 addition & 1 deletion tnoodle-ui/src/main/api/wca.api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Axios from "axios";
import { BASE_PATH } from "../../App";
import ScrambleProgram from "../components/ScrambleProgram";
import ScrambleProgram from "../model/ScrambleProgram";
import Competition from "../model/Competition";
import Person from "../model/Person";
import Wcif from "../model/Wcif";
Expand Down
21 changes: 0 additions & 21 deletions tnoodle-ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3693,17 +3693,6 @@ cosmiconfig@^7.0.0:
path-type "^4.0.0"
yaml "^1.10.0"

coveralls@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.1.0.tgz#13c754d5e7a2dd8b44fe5269e21ca394fb4d615b"
integrity sha512-sHxOu2ELzW8/NC1UP5XVLbZDzO4S3VxfFye3XYCznopHy02YjNkHcj5bKaVw2O7hVaBdBjEdQGpie4II1mWhuQ==
dependencies:
js-yaml "^3.13.1"
lcov-parse "^1.0.0"
log-driver "^1.2.7"
minimist "^1.2.5"
request "^2.88.2"

create-ecdh@^4.0.0:
version "4.0.4"
resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e"
Expand Down Expand Up @@ -7008,11 +6997,6 @@ last-call-webpack-plugin@^3.0.0:
lodash "^4.17.5"
webpack-sources "^1.1.0"

lcov-parse@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-1.0.0.tgz#eb0d46b54111ebc561acb4c408ef9363bdc8f7e0"
integrity sha1-6w1GtUER68VhrLTECO+TY73I9+A=

leven@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
Expand Down Expand Up @@ -7164,11 +7148,6 @@ lodash.uniq@^4.5.0:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==

log-driver@^1.2.7:
version "1.2.7"
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"
integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==

loglevel@^1.6.8:
version "1.7.1"
resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.7.1.tgz#005fde2f5e6e47068f935ff28573e125ef72f197"
Expand Down

0 comments on commit 47468c3

Please sign in to comment.