Back to all reviewers

Keep CI configurations updated

boto/boto3
Based on 2 comments
Yaml

Regularly review and update CI configuration files to remove obsolete settings and use appropriate version specifications based on current platform capabilities. This minimizes configuration overhead, reduces maintenance burden, and ensures your CI pipeline remains efficient.

CI/CD Yaml

Reviewer Prompt

Regularly review and update CI configuration files to remove obsolete settings and use appropriate version specifications based on current platform capabilities. This minimizes configuration overhead, reduces maintenance burden, and ensures your CI pipeline remains efficient.

For example, in Travis CI:

  • Remove unnecessary dist and sudo settings that are no longer required
  • Use stable version identifiers (e.g., “3.6” instead of “3.6-dev”) unless specifically testing development versions
  • Verify platform documentation is current by testing configurations directly when in doubt
# Good: Clean configuration
python:
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8"

# Avoid: Unnecessary settings
python:
  - "3.5"
  - "3.6"
  - "3.7"
matrix:
  include:
    - python: 3.8
      dist: xenial   # Unnecessary if no longer required
      sudo: true     # Unnecessary if no longer required
2
Comments Analyzed
Yaml
Primary Language
CI/CD
Category

Source Discussions