Skip to content

Commit

Permalink
Add CI-independent BMO e2e tests
Browse files Browse the repository at this point in the history
Implement lightweight fixture-based tests to ensure CI platform flexibility.
  • Loading branch information
Max Rantil committed Nov 9, 2023
1 parent 74bfd27 commit 478c56e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/e2e-fixture-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: E2E Fixture Test

on:
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install Virtualization Tools
run: |
sudo apt-get update
sudo apt-get install -y virt-manager qemu-efi
- name: Configure User Permissions and Restart Services
run: |
sudo usermod -aG libvirt $USER
sudo usermod -aG docker $USER
sudo sg libvirt "echo libvirt group set"
sudo sg docker "echo docker group set"
sudo systemctl restart libvirtd
- name: Set Up Environment and Run BMO e2e Tests
run: |
export E2E_CONF_FILE=${GITHUB_WORKSPACE}/test/e2e/config/fixture.yaml
export USE_EXISTING_CLUSTER="false"
make test-e2e

0 comments on commit 478c56e

Please sign in to comment.