Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Integration testing #30

Closed
t0mk opened this issue May 3, 2023 · 3 comments
Closed

Integration testing #30

t0mk opened this issue May 3, 2023 · 3 comments

Comments

@t0mk
Copy link
Contributor

t0mk commented May 3, 2023

It would be good to test the generated code. There are 2 approaches

  • Write test suite by hand. Test only necessary resources. Like in metal-java. (add link)
  • Use stable version of ansible-collection-equinix to tests, in other words:
    • create docker container based on python 3.9
    • install ansible
    • ansible galaxy install equinix.cloud
    • install latest code from this repo
    • ansible-tests integration -vvv
    • if tests succeed, the latest code doesn't break the ansible collection
@t0mk t0mk pinned this issue May 3, 2023
@t0mk
Copy link
Contributor Author

t0mk commented Dec 21, 2023

fixed by #61

@t0mk t0mk closed this as completed Dec 21, 2023
@ctreatma
Copy link
Contributor

#61 added a workflow for running integration tests, but the workflow fails during setup, so we don't quite have testing in place yet.

@ctreatma ctreatma reopened this Dec 21, 2023
@t0mk
Copy link
Contributor Author

t0mk commented Jan 31, 2024

Integration testing works now:
https://github.com/equinix-labs/metal-python/actions/runs/7570144390

@t0mk t0mk closed this as completed Jan 31, 2024
@ctreatma ctreatma unpinned this issue Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants