Skip to content

Commit

Permalink
test: ignore sanity tests for test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jul 19, 2023
1 parent c055716 commit c3e7658
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 20 deletions.
2 changes: 0 additions & 2 deletions tests/sanity/ignore-2.12.txt

This file was deleted.

2 changes: 0 additions & 2 deletions tests/sanity/ignore-2.13.txt

This file was deleted.

2 changes: 0 additions & 2 deletions tests/sanity/ignore-2.14.txt

This file was deleted.

2 changes: 0 additions & 2 deletions tests/sanity/ignore-2.15.txt

This file was deleted.

2 changes: 0 additions & 2 deletions tests/sanity/ignore-2.16.txt

This file was deleted.

14 changes: 5 additions & 9 deletions tests/utils/shippable/check_matrix.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env python
"""Verify the currently executing Shippable test matrix matches the one defined in the "shippable.yml" file."""
#!/usr/bin/env python3

"""Verify the currently executing Shippable test matrix matches the one defined in the "shippable.yml" file.
"""


import datetime
Expand All @@ -8,19 +10,13 @@
import re
import sys
import time
from urllib.request import urlopen

try:
from typing import NoReturn
except ImportError:
NoReturn = None

try:
# noinspection PyCompatibility
from urllib2 import urlopen # pylint: disable=ansible-bad-import-from
except ImportError:
# noinspection PyCompatibility
from urllib.request import urlopen


def main(): # type: () -> None
"""Main entry point."""
Expand Down
1 change: 1 addition & 0 deletions tests/utils/shippable/sanity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ ansible-test sanity --color -v --junit ${COVERAGE:+"$COVERAGE"} ${CHANGED:+"$CHA
--docker --base-branch "${base_branch}" \
--exclude plugins/module_utils/vendor/ \
--exclude scripts/ \
--exclude tests/utils/ \
--allow-disabled
2 changes: 1 addition & 1 deletion tests/utils/shippable/timing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.7
#!/usr/bin/env python3


import sys
Expand Down

0 comments on commit c3e7658

Please sign in to comment.