Skip to content

Commit

Permalink
add codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
ShigekiKarita committed May 2, 2020
1 parent ec23537 commit 4dd5a99
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ jobs:
run: |
source $(curl https://dlang.org/install.sh | bash -s -- ${{ matrix.compiler }} -a)
make test
- name: codecov
if: ${{ matrix.compiler == 'dmd' }}
run: bash <(curl -s https://codecov.io/bash)
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,4 @@ clean:
rm -rfv generated

test: all
LIBRARY_PATH=`pwd`/download/lib dub test --parallel

LIBRARY_PATH=`pwd`/download/lib dub test --parallel -b=unittest-cov
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# tfd: tensorflow for D

![CI](https://github.com/ShigekiKarita/tfd/workflows/CI/badge.svg)

## TODO

- Setup CI
Expand Down

0 comments on commit 4dd5a99

Please sign in to comment.