diff --git a/package/ci/appveyor-desktop-gles.bat b/package/ci/appveyor-desktop-gles.bat index 0b024ee..6fe6d7d 100644 --- a/package/ci/appveyor-desktop-gles.bat +++ b/package/ci/appveyor-desktop-gles.bat @@ -100,10 +100,14 @@ coverage combine || exit /b rem I am unable to convince codecov to relocate paths using codecov.yml so rem let's do that manually. But that doesn't work either. powershell -Command "(gc .coverage) -replace 'C:\\\\projects\\\\magnum-bindings\\\\build\\\\src\\\\python\\\\', 'C:\\projects\\magnum-bindings\\src\\python\\' | Out-File -encoding ASCII .coverage" || exit /b + +type .coverage + del ..\..\build\src\python\corrade\__init__.py || exit /b del ..\..\build\src\python\magnum\__init__.py || exit /b del ..\..\build\src\python\magnum\platform\__init__.py || exit /b +cd ..\.. codecov -X gcov || exit /b type coverage.xml diff --git a/package/ci/appveyor-desktop.bat b/package/ci/appveyor-desktop.bat index 602886c..7c87e91 100644 --- a/package/ci/appveyor-desktop.bat +++ b/package/ci/appveyor-desktop.bat @@ -101,10 +101,14 @@ coverage combine || exit /b rem I am unable to convince codecov to relocate paths using codecov.yml so rem let's do that manually. But that doesn't work either. powershell -Command "(gc .coverage) -replace 'C:\\\\projects\\\\magnum-bindings\\\\build\\\\src\\\\python\\\\', 'C:\\projects\\magnum-bindings\\src\\python\\' | Out-File -encoding ASCII .coverage" || exit /b + +type .coverage + del ..\..\build\src\python\corrade\__init__.py || exit /b del ..\..\build\src\python\magnum\__init__.py || exit /b del ..\..\build\src\python\magnum\platform\__init__.py || exit /b +cd ..\.. codecov -X gcov || exit /b type coverage.xml