Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fail build_windows.py if all retries failed and fix CI sanity checks (#…
Browse files Browse the repository at this point in the history
…18177)

* Fail build_windows.py if all retries failed

* Fix pylint with unpinned astroid causing CI issues

New version of astroid was pushed to pypi which broke CI as CI didn't use pinned version of astroid before.
  • Loading branch information
leezu authored Apr 28, 2020
1 parent 8816b35 commit 50f7f0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ci/build_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ def windows_build(args):
logging.info("Build flavour: {} complete in directory: \"{}\"".format(args.flavour, os.path.abspath(path)))
logging.info("Build took {}".format(datetime.timedelta(seconds=int(time.time() - t0))))
break
windows_package(args)
if ret == 0:
windows_package(args)
else:
sys.exit(1)


def windows_package(args):
Expand Down
3 changes: 2 additions & 1 deletion ci/docker/install/requirements
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Cython==0.29.7

# Development dependencies
cpplint==1.3.0
pylint==2.3.1; python_version >= '3.0'
pylint==2.3.1 # pylint and astroid need to be aligned
astroid==2.3.3 # pylint and astroid need to be aligned
pytest==5.3.5
pytest-env==0.6.2
pytest-cov==2.8.1
Expand Down

0 comments on commit 50f7f0a

Please sign in to comment.