DataDog / orchestrion

Automatic compile-time instrumentation of Go code
http://datadoghq.dev/orchestrion/
Apache License 2.0
159 stars 5 forks source link

chore: uniformize integration tests #228

Closed RomainMuller closed 2 months ago

RomainMuller commented 2 months ago

Name the files appropriately instead of "main", and add the integration build constraint to all of them so that go test ./... does not waste time building them for nothing.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.50%. Comparing base (9bd25ae) to head (50ced96). Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #228 +/- ## ======================================= Coverage 61.50% 61.50% ======================================= Files 90 90 Lines 4915 4915 ======================================= Hits 3023 3023 Misses 1569 1569 Partials 323 323 ``` | [Flag](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | Coverage Δ | | |---|---|---| | [ARM64](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `44.68% <ø> (ø)` | | | [Linux](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `66.13% <ø> (ø)` | | | [Windows](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `43.56% <ø> (ø)` | | | [X64](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `61.50% <ø> (ø)` | | | [generator](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `42.71% <ø> (ø)` | | | [go1.22](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `50.96% <ø> (ø)` | | | [go1.23](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `49.74% <ø> (ø)` | | | [integration](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `46.19% <ø> (ø)` | | | [macOS](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `44.68% <ø> (ø)` | | | [unit](https://app.codecov.io/gh/DataDog/orchestrion/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `41.21% <ø> (+1.20%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.