mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Simplify compileall checks. Remove py3 skip list.
This commit is contained in:
@@ -1 +1 @@
|
|||||||
/cloud/
|
/cloud/[^/]+/(?!(ec2_facts.py|_ec2_ami_search.py))
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
cloud/amazon/_ec2_ami_search.py
|
|
||||||
cloud/amazon/ec2_facts.py
|
|
||||||
@@ -29,11 +29,10 @@ fi
|
|||||||
|
|
||||||
validate_modules="${build_dir}/test/sanity/validate-modules/validate-modules"
|
validate_modules="${build_dir}/test/sanity/validate-modules/validate-modules"
|
||||||
|
|
||||||
python2.4 -m compileall -fq -i "test/utils/shippable/sanity-test-python24.txt"
|
|
||||||
python2.4 -m compileall -fq -x "($(printf %s "$(< "test/utils/shippable/sanity-skip-python24.txt"))" | tr '\n' '|')" .
|
python2.4 -m compileall -fq -x "($(printf %s "$(< "test/utils/shippable/sanity-skip-python24.txt"))" | tr '\n' '|')" .
|
||||||
python2.6 -m compileall -fq .
|
python2.6 -m compileall -fq .
|
||||||
python2.7 -m compileall -fq .
|
python2.7 -m compileall -fq .
|
||||||
python3.5 -m compileall -fq . -x "($(printf %s "$(< "test/utils/shippable/sanity-skip-python3.txt"))" | tr '\n' '|')"
|
python3.5 -m compileall -fq .
|
||||||
|
|
||||||
ANSIBLE_DEPRECATION_WARNINGS=false \
|
ANSIBLE_DEPRECATION_WARNINGS=false \
|
||||||
"${validate_modules}" --exclude '/utilities/|/shippable(/|$)' .
|
"${validate_modules}" --exclude '/utilities/|/shippable(/|$)' .
|
||||||
|
|||||||
Reference in New Issue
Block a user