Skip to content

playbooks for CI checks, units and functional tests #14

playbooks for CI checks, units and functional tests

playbooks for CI checks, units and functional tests #14

Workflow file for this run

---
name: unit tests
on:
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/checkout@v4
- name: install ansible
run: pip3 install ansible
- name: run the build container playbook
run: cd dev/playbooks; ansible-playbook -i 'localhost,' --forks=1 -v build_container.yaml
- name: run the start container playbook
run: cd dev/playbooks; ansible-playbook -i 'localhost,' --forks=1 -v start_container.yaml
- name: run the unit test playbook
run: cd dev/playbooks; ansible-playbook -i 'localhost,' --forks=1 -v run_unit_tests.yaml