charmkeeper-integration-tests

📁 seb4stien/charmkeeper 📅 5 days ago
4
总安装量
4
周安装量
#52765
全站排名
安装命令
npx skills add https://github.com/seb4stien/charmkeeper --skill charmkeeper-integration-tests

Agent 安装分布

opencode 4
gemini-cli 4
github-copilot 4
claude-code 3
codex 3
kimi-cli 3

Skill 文档

Plan:

  • Find the integration tests in the repository (their could be multiple “tests/integration” folders).
  • Ensure each set of integration tests is following the implementation standards.
  • Run the tests to ensure the code work as expected.

Implementation standards

  • Expected versions:

    • jubilant: ~> 1.7
  • Lint produced code with tox -e lint.

Testing

Writing integrations tests

Local testing

The integration tests should be run in a virtual machine named “charmkeeper”.

If the machine doesn’t exist, create it with: scripts/create-charmkeeper-vm.sh.

If not already done, mount the working directory folder in the machine with

multipass mount --type native $PWD charmkeeper:/workdir

Run integration tests with:

multipass exec charmkeeper -d /workdir/$TERRAFORM_MODULE -- tox -e integration

Maintain

Configuring renovate

Configure renovate like https://raw.githubusercontent.com/canonical/platform-engineering-charm-template/refs/heads/main/renovate.json to

  • Add a charmhub datasource and use it.
  • Add a regex custom manager for revisions.
  • Set ignorePath to an empty array to not exclude the tests/ folders of terraform.