diff --git a/.circleci/config.yml b/.circleci/config.yml index 634a3bc8d12d6b2f2fc16c2dc3bda4e115f18731..d33849e40ed5093b194e471b335020955ffee8b6 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 0000000000000000000000000000000000000000..1b987d2ed982e91ff2912aa8aa386d8e11dd86b6 --- /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