Scheduled integration tests #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scheduled integration tests | |
# Development shifts toward OpenStack support. | |
# These tests is for local LXD and is ran weekly. | |
on: | |
schedule: | |
- cron: "15 5 * * 2" | |
workflow_dispatch: | |
jobs: | |
# test option values defined at test/conftest.py are passed on via repository secret | |
# INTEGRATION_TEST_ARGS to operator-workflows automatically. | |
integration-tests-juju36: | |
name: Integration test with juju 3.6 | |
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main | |
secrets: inherit | |
with: | |
juju-channel: 3.6/stable | |
pre-run-script: scripts/pre-integration-test.sh | |
provider: lxd | |
test-tox-env: integration-juju3.6 | |
modules: '["test_charm_base_image", "test_charm_fork_repo", "test_charm_no_runner", "test_charm_scheduled_events", "test_charm_lxd_runner", "test_charm_runner", "test_charm_metrics_success", "test_charm_metrics_failure", "test_self_hosted_runner", "test_charm_with_proxy", "test_charm_with_juju_storage", "test_debug_ssh", "test_charm_upgrade"]' | |
integration-tests: | |
name: Integration test with juju 3.1 | |
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main | |
secrets: inherit | |
with: | |
juju-channel: 3.1/stable | |
pre-run-script: scripts/pre-integration-test.sh | |
provider: lxd | |
test-tox-env: integration-juju3.1 | |
modules: '["test_charm_base_image", "test_charm_fork_repo", "test_charm_no_runner", "test_charm_scheduled_events", "test_charm_lxd_runner", "test_charm_runner", "test_charm_metrics_success", "test_charm_metrics_failure", "test_self_hosted_runner", "test_charm_with_proxy", "test_charm_with_juju_storage", "test_debug_ssh", "test_charm_upgrade"]' |