From cd110835a051fe859214d067211f525f705e4354 Mon Sep 17 00:00:00 2001 From: thomwolf Date: Tue, 30 Apr 2019 11:35:40 +0200 Subject: [PATCH] coverage in circle-ci --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f4434228a..04adf715e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,7 +10,7 @@ jobs: - run: sudo pip install pytest codecov pytest-cov - run: sudo pip install spacy ftfy==4.4.3 - run: sudo python -m spacy download en - - run: python -m pytest -sv tests/ --runslow + - run: python -m pytest -sv tests/ --runslow --cov - run: codecov build_py2: working_directory: ~/pytorch-pretrained-BERT @@ -22,7 +22,7 @@ jobs: - run: sudo pip install pytest codecov pytest-cov - run: sudo pip install spacy ftfy==4.4.3 - run: sudo python -m spacy download en - - run: python -m pytest -sv tests/ --runslow + - run: python -m pytest -sv tests/ --runslow --cov - run: codecov workflows: version: 2