Skip to content
Permalink
Browse files

correctly move overlay file into .coverage folder

  • Loading branch information...
KtorZ committed Jul 12, 2019
1 parent 8699da5 commit 8cf6a5225605ed8cb0b5bce6184c2d4d72dbd802
Showing with 2 additions and 1 deletion.
  1. +2 −1 .travis.yml
@@ -228,9 +228,10 @@ jobs:
- cd lib/core
- find $LOCAL_MIX_DIR -type f -name "Cardano.Wallet.DB.Sqlite.TH.mix" > overlay.hpc
- 'sed -i "s/.*hpc\/\(.*\).mix/module \"\1\" {}/" overlay.hpc'
- stack exec -- hpc overlay --hpcdir $LOCAL_MIX_DIR overlay.hpc > .coverage/core/Cardano.Wallet.DB.Sqlite.TH.tix
- stack exec -- hpc overlay --hpcdir $LOCAL_MIX_DIR overlay.hpc > Cardano.Wallet.DB.Sqlite.TH.tix
- 'sed -i "s/0,/1,/g" Cardano.Wallet.DB.Sqlite.TH.tix'
- cd -
- mv lib/core/*.tix .coverage/core
# Re-build the coverage report taking .tix from executables running outside of the test suites
- stack hpc report .coverage/**/*.tix
- shc combined custom

0 comments on commit 8cf6a52

Please sign in to comment.
You can’t perform that action at this time.