Skip to content

Commit

Permalink
re-add e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartz committed Oct 14, 2024
1 parent 17467b7 commit 08eec3e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/e2e_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: End-to-End tests

on:
pull_request:


jobs:
# test option values defined at test/conftest.py are passed on via repository secret
# INTEGRATION_TEST_ARGS to operator-workflows automatically.
openstack-integration-end-to-end-test:
name: end-to-end test using private-endpoint
uses: canonical/operator-workflows/.github/workflows/integration_test.yaml@main
secrets: inherit
with:
juju-channel: 3.2/stable
pre-run-script: scripts/setup-lxd.sh
provider: lxd
test-tox-env: integration-juju3.2
modules: '["test_e2e"]'
extra-arguments: "-m openstack"
self-hosted-runner: true
self-hosted-runner-label: stg-private-endpoint

required_status_checks:
name: Required E2E Test Status Checks
runs-on: ubuntu-latest
needs:
- openstack-integration-end-to-end-test
if: always() && !cancelled()
timeout-minutes: 5
steps:
- run: |
[ '${{ needs.openstack-integration-end-to-end-test.result }}' = 'success' ] || (echo openstack-integration-end-to-end-test failed && false)

0 comments on commit 08eec3e

Please sign in to comment.