diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..09b4bc1 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,33 @@ +# Don't fail if coverage drops slightly +coverage: + status: + project: + default: + target: auto + threshold: 0.1% + +# Carry forward any end-to-end flags +flags: + e2e: + carryforward: true + +# Show carryforward flags and components in the PR comment +comment: + layout: "header, diff, flags, components" + show_carryforward_flags: true + +# Set up components +component_management: + individual_components: + - component_id: "casa" + paths: + - "phangsPipeline/casa*" + - component_id: "handler" + paths: + - "phangsPipeline/handler*" + - component_id: "spectral-cube" + paths: + - "phangsPipeline/sc*" + - component_id: "utils" + paths: + - "phangsPipeline/utils*" diff --git a/CHANGELOG.md b/CHANGELOG.md index 0551ca1..8023499 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added more detailed instructions for installing analysisUtils (#340). - Included initial documentation (#348). - Add badges to README.md (#358). +- Added .codecov.yml to configure codecov (#364). ### Changed