From c25c300e9dcae26c8e7c03bb31964fb517928182 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 7 May 2020 11:52:59 -0400
Subject: [PATCH] Try getting some distance from CircleCI

---
 .circleci/config.yml         | 7 +------
 .circleci/report-coverage.sh | 6 ++++++
 2 files changed, 7 insertions(+), 6 deletions(-)
 create mode 100644 .circleci/report-coverage.sh

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 634a3bc..d33849e 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -145,13 +145,8 @@ jobs:
 
       - run:
           name: "Report Coverage"
-          shell: "/usr/bin/env nix-shell"
           command: |
-            #! nix-shell -i bash -p "python.withPackages (ps: [ ps.codecov ])"
-            cp ./result-doc/share/doc/*/.coverage ./
-            python -m coverage combine
-            python -m coverage report
-            codecov --file .coverage
+            ./.circleci/report-coverage.sh
 
 workflows:
   version: 2
diff --git a/.circleci/report-coverage.sh b/.circleci/report-coverage.sh
new file mode 100644
index 0000000..1b987d2
--- /dev/null
+++ b/.circleci/report-coverage.sh
@@ -0,0 +1,6 @@
+#! /usr/bin/env nix-shell
+#! nix-shell -i bash -p "python.withPackages (ps: [ ps.codecov ])"
+cp ./result-doc/share/doc/*/.coverage ./
+python -m coverage combine
+python -m coverage report
+codecov --file .coverage
-- 
GitLab