Skip to content

Commit

Permalink
fixup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jctanner committed Oct 9, 2024
1 parent fcb03cb commit 9150ca1
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/ci_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9150ca1

Please sign in to comment.