Skip to content

re-instating conditional use of codeclimate and deepsource tools in CI #130

@coderabbitai

Description

@coderabbitai

Summary:

In PR #127, we observed that the conditional checks for running cc-test-reporter and deepsource tools in the GitHub Actions CI workflow were removed. This change causes these tools to execute in all CI environments, including those where they may not be available, leading to potential job failures.

During the discussion in this comment, it was acknowledged that this needs to be corrected so that these tools only run on Linux or Darwin (macOS) environments. The implementation for the correct conditional checks exists in the template repository reactive-firewall/python-repo.

Plan:

  1. Review the previous implementation of OS-specific conditional checks in the reactive-firewall/python-repo template repository.

  2. Reintroduce conditional checks in the CI workflow to ensure cc-test-reporter and deepsource run only on Linux or Darwin (macOS) environments.

  3. Update the CI workflow YAML files accordingly, adding appropriate if conditions to the steps involving these tools.

  4. Verify that the tools are properly installed and available on the supported environments within the CI jobs.

  5. Test the updated workflow across different operating systems to confirm that the tools run where expected and are skipped elsewhere.

  6. Apply the updated CI configuration to relevant repositories using the template, ensuring consistency.

Requested by: @reactive-firewall

Backlinks:

Mappings:

Metadata

Metadata

Labels

CIContinuous Integration ToolingDuplicateThis issue or pull request already existsGitHubAnything MetaTestingSomething can be verified

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions