Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c84a011a67 | ||
![]() |
6b985663a5 | ||
![]() |
e20070da30 | ||
![]() |
04e34cbfa0 | ||
![]() |
e328dc6270 |
|
@ -6,6 +6,9 @@ env:
|
||||||
matrix:
|
matrix:
|
||||||
- RACKET_VERSION=6.1.1
|
- RACKET_VERSION=6.1.1
|
||||||
- RACKET_VERSION=6.2
|
- RACKET_VERSION=6.2
|
||||||
|
- RACKET_VERSION=6.2.1
|
||||||
|
- RACKET_VERSION=6.3
|
||||||
|
- RACKET_VERSION=6.4
|
||||||
- RACKET_VERSION=HEAD
|
- RACKET_VERSION=HEAD
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Cover Codecov
|
# Cover Codecov
|
||||||
|
|
||||||
[](https://travis-ci.org/rpless/cover-codecov)
|
[](https://travis-ci.org/codecov/codecov-racket)
|
||||||
[](https://codecov.io/github/rpless/cover-codecov?branch=master)
|
[](https://codecov.io/github/codecov/codecov-racket?branch=master)
|
||||||
|
|
||||||
Adds [Codecov](https://codecov.io/) support to [Cover](https://github.com/florence/cover).
|
Adds [Codecov](https://codecov.io/) support to [Cover](https://github.com/florence/cover).
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
;; ->
|
;; ->
|
||||||
;; Submit cover information to Codecov
|
;; Submit cover information to Codecov
|
||||||
(define (generate-codecov-coverage coverage files _dir)
|
(define (generate-codecov-coverage coverage files [_dir "coverage"])
|
||||||
(define json (codecov-json coverage files))
|
(define json (codecov-json coverage files))
|
||||||
(define-values (status resp port) (send-codecov! json))
|
(define-values (status resp port) (send-codecov! json))
|
||||||
(displayln status)
|
(displayln status)
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
(reverse line-cover))
|
(reverse line-cover))
|
||||||
|
|
||||||
(module+ test
|
(module+ test
|
||||||
(define-runtime-path path "tests/not-run.rkt")
|
(define-runtime-path path "tests/test-not-run.rkt")
|
||||||
(let ()
|
(let ()
|
||||||
(parameterize ([current-cover-environment (make-cover-environment)])
|
(parameterize ([current-cover-environment (make-cover-environment)])
|
||||||
(define file (path->string (simplify-path path)))
|
(define file (path->string (simplify-path path)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user