From 3edaf22e894bc264371f3823845e88fff3f8bff3 Mon Sep 17 00:00:00 2001 From: YoungHui Park Date: Thu, 29 Oct 2020 13:04:31 -0500 Subject: [PATCH 1/4] Test coverage --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9729990..3750408 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,11 @@ jobs: steps: - checkout - run: ls -la + - run: pip install -U coverage coveralls PyYAML + - run: coverage run --source=. -m pytest + - run: coverage report + - run: coverage html + - run: coveralls ### Template. ### # test_script_x: # executor: From 31ddc960d3e654e9c083bfeadc0ff82f54268c84 Mon Sep 17 00:00:00 2001 From: YoungHui Park Date: Thu, 29 Oct 2020 13:04:58 -0500 Subject: [PATCH 2/4] Add coveralls YAML file --- .coveralls.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .coveralls.yml diff --git a/.coveralls.yml b/.coveralls.yml new file mode 100644 index 0000000..7dd5151 --- /dev/null +++ b/.coveralls.yml @@ -0,0 +1 @@ +repo_token: hRBH9q560ox3eOILcIIIuqRcAo55vfqHZ \ No newline at end of file From 1cd561cf2f6ec27e476d2b1be10978582e459eda Mon Sep 17 00:00:00 2001 From: YoungHui Park Date: Thu, 29 Oct 2020 13:08:29 -0500 Subject: [PATCH 3/4] Add a newline at the end of coveralls YAML --- .coveralls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.coveralls.yml b/.coveralls.yml index 7dd5151..2b49435 100644 --- a/.coveralls.yml +++ b/.coveralls.yml @@ -1 +1 @@ -repo_token: hRBH9q560ox3eOILcIIIuqRcAo55vfqHZ \ No newline at end of file +repo_token: hRBH9q560ox3eOILcIIIuqRcAo55vfqHZ From 34c41e109b281bc75707749513a6a7f4382f91c2 Mon Sep 17 00:00:00 2001 From: YoungHui Park Date: Thu, 29 Oct 2020 13:09:45 -0500 Subject: [PATCH 4/4] Switch to pip3 --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3750408..ffeaecd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,7 +17,7 @@ jobs: steps: - checkout - run: ls -la - - run: pip install -U coverage coveralls PyYAML + - run: pip3 install -U coverage coveralls PyYAML - run: coverage run --source=. -m pytest - run: coverage report - run: coverage html