Validate that we can upload build collection

Run galaxy-importer on the built artifact and fail if galaxy is
going to fail.

Remove license_file entry in galaxy.yml

Change-Id: I6c2ac22ccb56f52f8efcefc5891b10875ae8c0b5
This commit is contained in:
Monty Taylor
2020-05-19 09:50:02 -05:00
parent 6ab290839b
commit a033a0804b
4 changed files with 27 additions and 1 deletions

View File

@@ -34,10 +34,12 @@ commands =
deps =
pbr
ruamel.yaml
galaxy-importer
git+https://github.com/ansible/ansible
commands =
python {toxinidir}/tools/build.py
ansible-galaxy collection build --force {toxinidir} --output-path {toxinidir}/build_artifact
/bin/bash {toxinidir}/tools/check-import.sh {toxinidir}
[testenv:linters]
passenv = *