fix python deps
ci / validate (push) Successful in 1m25s

This commit is contained in:
Mateusz Suski
2026-04-30 06:55:01 +00:00
parent ff6a81a3d5
commit a67f7e33e0
+3 -20
View File
@@ -9,39 +9,22 @@ jobs:
runs-on: ubuntu
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Debug
run: |
echo "START"
whoami
pwd
ls -la
- uses: actions/checkout@v4
- name: Install deps
shell: bash
run: |
apt-get update
apt-get install -y python3 python3-pip
pip3 install ansible
apt-get install -y python3 python3-pip ansible docker.io
- name: Python syntax check
shell: bash
run: |
python3 -m py_compile \
migration-validation-framework/cli.py \
migration-validation-framework/collectors/*.py \
migration-validation-framework/validators/*.py \
migration-validation-framework/reports/*.py
find migration-validation-framework -name "*.py" -exec python3 -m py_compile {} \;
- name: Ansible syntax check
shell: bash
run: |
ansible-playbook -i enterprise-infra-simulator/inventory/hosts.ini \
--syntax-check enterprise-infra-simulator/playbooks/*.yml
- name: Docker compose validation
shell: bash
run: |
docker compose -f observability-stack/docker-compose.yml config