Skip to content

tests/e2e: Migrate e2e test for s390x to GHA #3

tests/e2e: Migrate e2e test for s390x to GHA

tests/e2e: Migrate e2e test for s390x to GHA #3

Workflow file for this run

name: e2e tests for s390x
on:
push:
branches:
- migrate-to-gha-s390x
permissions:
contents: read
jobs:
e2e:
name: operator e2e tests for s390x
runs-on: s390x
strategy:
matrix:
runtimeclass: ["kata-qemu"]
steps:
- name: Adjust a permission for repo
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- name: Take a pre-action for self-hosted runner
run: ${HOME}/script/pre_action.sh cc-operator-pr
- uses: actions/checkout@v4
- name: Install deps
run: |
sudo apt-get update -y
sudo apt-get install -y ansible python-is-python3
- name: Run e2e tests
continue-on-error: true
run: |
cd tests/e2e
export PATH="$PATH:/usr/local/bin"
./run-local.sh -r "{{ matrix.runtimeclass }} -u"
- name: Take a post-action
if: always()
run: ${HOME}/script/post_action.sh cc-operator-pr