Skip to content

Minikube installation #46

Minikube installation

Minikube installation #46

Workflow file for this run

---
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v3
- name: Set up Python 3.
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install test dependencies
run: pip3 install yamllint ansible-core ansible-lint
- name: Lint yaml
run: yamllint .
- name: Lint ansible
run: ansible-lint
integration:
name: Integration
runs-on: ubuntu-latest
steps:
- name: Check out the codebase
uses: actions/checkout@v3
- name: Running installation
run: ./install.sh
- name: Test for idempotence
run: |
trace_file=$(mktemp)
./install.sh | tee -a ${trace_file}
tail ${trace_file} |
grep -q 'changed=0.*failed=0' && \
(echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1)