playbooks for CI checks, units and functional tests #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |