diff --git a/.github/workflows/ci_full.yml b/.github/workflows/ci_full.yml index e92bb29dae..404429d018 100644 --- a/.github/workflows/ci_full.yml +++ b/.github/workflows/ci_full.yml @@ -62,30 +62,27 @@ jobs: - uses: actions/checkout@v4 - - name: install ansible - run: pip3 install ansible - - - name: install python-requests - run: pip3 install requests - - - name: run the build container playbook - run: cd dev/playbooks; ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook -i 'localhost,' --forks=1 -v build_container.yaml + - name: checkout dab + run: | + cd .. + git clone https://github.com/ansible/django-ansible-base - - name: run the start container playbook - run: cd dev/playbooks; ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook -i 'localhost,' --forks=1 -v start_container.yaml + - name: install system dependencies + run: | + sudo apt update + sudo apt install -y libsasl2-dev libldap2-dev libssl-dev gettext - - name: run the unit test playbook - run: cd dev/playbooks; ANSIBLE_STDOUT_CALLBACK=yaml ansible-playbook -i 'localhost,' --forks=1 -v run_unit_tests.yaml + - name: install tox & coverage + run: pip3 install tox coverage - - name: copy coverage report - run: | - docker cp pulp:/tmp/galaxy_ng-test-results.xml coverage.xml + - name: run the unit tests + run: tox -e py311 - name: upload coverage as artifact uses: actions/upload-artifact@v4 with: name: coverage - path: coverage.xml + path: /tmp/galaxy_ng-test-results.xml - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master