From c0c9f755a40a51889e73275578cb49296de84e43 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 14 Apr 2023 14:12:35 +0530 Subject: ci: Move to the codecov github action The pypi package was suddenly removed. Not the most confidence-inspiring deprecation/migration: https://about.codecov.io/blog/message-regarding-the-pypi-package/ --- ci/ciimage/common.sh | 1 - ci/combine_cov.sh | 10 ++++++++++ ci/upload_cov.sh | 13 ------------- 3 files changed, 10 insertions(+), 14 deletions(-) create mode 100755 ci/combine_cov.sh delete mode 100755 ci/upload_cov.sh (limited to 'ci') diff --git a/ci/ciimage/common.sh b/ci/ciimage/common.sh index 68a4dae..f6a52ae 100644 --- a/ci/ciimage/common.sh +++ b/ci/ciimage/common.sh @@ -15,7 +15,6 @@ base_python_pkgs=( pytest-xdist pytest-subtests coverage - codecov jsonschema ) diff --git a/ci/combine_cov.sh b/ci/combine_cov.sh new file mode 100755 index 0000000..99a503b --- /dev/null +++ b/ci/combine_cov.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +echo "Combining coverage reports..." +coverage combine + +echo "Generating XML report..." +coverage xml + +echo "Printing report" +coverage report diff --git a/ci/upload_cov.sh b/ci/upload_cov.sh deleted file mode 100755 index 089641b..0000000 --- a/ci/upload_cov.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -echo "Combining coverage reports..." -coverage combine - -echo "Generating XML report..." -coverage xml - -echo "Printing report" -coverage report - -echo "Uploading to codecov..." -codecov -f .coverage/coverage.xml -n "$1" -- cgit v1.1