From 4dd5a994df346f0bf29b0b0e077f08755033eb0c Mon Sep 17 00:00:00 2001 From: Shigeki Karita Date: Sat, 2 May 2020 22:20:15 +0900 Subject: [PATCH] add codecov --- .github/workflows/test.yml | 4 ++++ Makefile | 3 +-- README.md | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5143ca4..4ecfee1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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) diff --git a/Makefile b/Makefile index ab2c1a2..8b6ee33 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 4972684..a9bafe0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # tfd: tensorflow for D +![CI](https://github.com/ShigekiKarita/tfd/workflows/CI/badge.svg) + ## TODO - Setup CI