-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache charmcraft pack container, skip unstable tests except on schedule #11
Conversation
88e37ab
to
157cf1f
Compare
157cf1f
to
ae2bfd0
Compare
Add time limit to jobs Ported from canonical/mysql-operator#134
tox.ini
Outdated
commands = | ||
poetry install --with dev | ||
poetry export -f requirements.txt -o requirements.txt | ||
poetry run pytest -v --tb native {[vars]tst_path}integration/test_charm.py --log-cli-level=INFO -s --cloud=localhost {posargs} | ||
poetry run pytest -v --tb native --log-cli-level=INFO -s --cloud=localhost {posargs} {[vars]tests_path}/integration/test_charm.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd make it more general to be consisnte with other repo
tox.ini
Outdated
commands = | ||
poetry install --with dev | ||
poetry export -f requirements.txt -o requirements.txt | ||
poetry run pytest -v --tb native {[vars]tst_path}integration/test_charm.py --log-cli-level=INFO -s --cloud=microk8s {posargs} | ||
poetry run pytest -v --tb native --log-cli-level=INFO -s --cloud=microk8s {posargs} {[vars]tests_path}/integration/test_charm.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd make it more general to be consisnte with other repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me!
Only I see that both integration tests were failing and I'm wondering why (had a look at the logs but have not found obvious reason). We should just make sure these changes are backward compatible. I'd hold off to merge unless they are stable. I'll try to have a look at this next week
superseded by #19 |
Ported from canonical/mysql-k8s-operator#146