Commit Graph
42 Commits
Author SHA1 Message Date
Yannick Jadoul c53e7824a7 Remove unused imports 2020-06-18 00:23:25 +02:00
Yannick Jadoul 46a39b06cb Fix paths in unit tests 2020-06-18 00:23:25 +02:00
mayeut 5e767fcc9a Use f-strings
Now that minimum python supported is 3.6, we can use f-strings !
2020-05-09 11:53:20 +02:00
Joe Rickerby a1983b94d8 Merge commit '882ea3426a837acfe205cc5de98793c98b6a1bf7' into support-subdirectory-joerick 2020-04-10 12:33:05 +01:00
Joe Rickerby f84388fe26 Changes that let me run the entire the entire linux test suite locally 2020-04-10 12:18:21 +01:00
Joe Rickerby d5010b8242 Merge remote-tracking branch 'origin/master' into support-subdirectory 2020-04-09 14:05:09 +01:00
Yannick Jadoul 25f2e8cb46 Fix flake8 2020-04-09 14:37:12 +02:00
Grzegorz Bokota 6554c3cf86 pack build argument in named tuple, introduce typing arguments 2020-04-08 12:54:58 +02:00
Filip Š ed50cfd20a Fix tests 2020-03-28 16:25:57 +01:00
Joe Rickerby de4bf6dafe Add missing version-specific constraint tests 2020-03-23 22:16:47 +00:00
Joe Rickerby 94824f95af Merge remote-tracking branch 'origin/master' into deterministic-builds 2020-03-13 14:20:10 +00:00
Matthieu Darbois b797430d21 Add support for GitHub Actions
Closes #159
2020-03-10 22:45:29 +01:00
Joe Rickerby 04531d9058 Fix unit tests 2020-03-07 14:53:22 +00:00
Joe Rickerby 1880b6d14d Merge remote-tracking branch 'origin/master' into deterministic-builds 2020-03-01 12:53:07 +00:00
Yannick Jadoul 1e317895fe Adding PyPy images to main_options_test::test_manylinux_images 2020-02-15 23:47:07 +01:00
Joe Rickerby f2c2a06c19 Merge fixes and code style 2020-02-15 11:57:31 +00:00
Joe Rickerby 103381774c Merge remote-tracking branch 'origin/master' into deterministic-builds 2020-02-15 11:45:54 +00:00
Nicola Soranzo c738481e82 Rename main_util_fixtures.py to conftest.py to allow fixture auto discovery
Also fix new PEP-008 issues.
2020-02-14 15:50:06 +00:00
Nicola Soranzo cab6ecef24 Fix all PEP-008 issues 2020-02-14 15:50:06 +00:00
Grzegorz Bokota 48055273f1 Remove inheritance from object base 2020-02-04 11:58:52 +01:00
Joe Rickerby e32d0af532 Allow any version of the docker image in the unit test 2020-02-02 22:38:09 +00:00
Joe Rickerby baa0897f1d Add unit test case and fix filename confusion 2020-02-02 17:46:12 +00:00
Joe Rickerby c3f628d03d Add migration for build identifier change, and test for migration 2020-02-01 21:44:07 +00:00
Joe Rickerby a97b6a13f1 Fix test protection reference 2020-01-31 17:11:56 +00:00
mayeut 513ef49cd4 Only build x86_64 / Intel 10.9+ on macOS 2020-01-29 22:59:01 +01:00
Yannick Jadoul 492b5f4039 Splitting off fake_project_dir fixture from mock_protection, only mocking os.path.exist for setup.py in the mocked project directory 2019-12-27 00:56:00 +01:00
Yannick Jadoul fabb82e9cf Add manylinux2014 to unit_test/main_options_test.py::test_manylinux_images 2019-12-26 15:03:13 +01:00
Yannick Jadoul 8bfe9ac6cd Fix @joerick's remarks in unit_test/main_options_test.py 2019-12-26 14:55:08 +01:00
Yannick Jadoul de55153931 Remove 'from cibuildwheel import linux, macos, windows' from new tests, as imports are done in fixtures 2019-12-26 14:55:08 +01:00
Yannick Jadoul a9c968868a Fix main_platform_test.py::test_platform_argument, making sure --platform overrides CIBW_PLATFORM 2019-12-26 14:55:08 +01:00
Yannick Jadoul 05e7858815 Refactoring main_function_test.py 2019-12-26 14:55:08 +01:00
Grzegorz Bokota 5e33011229 remove apply_mock_protection by making it fixture 2019-12-26 14:55:08 +01:00
Grzegorz Bokota 0b707b22ed split test function on parts to be more readable. 2019-12-26 14:55:08 +01:00
Grzegorz Bokota d66e201c3f test main function with unit tests 2019-12-26 14:55:08 +01:00
Grzegorz Bokota c966c6d098 Add mock for better protection of unit tests launch.
change behavior of main function to always end with exit.
2019-11-24 12:17:08 +01:00
Grzegorz Bokota d2700bc3b4 fix UnboundLocalError instead of proper error message (#221)
* fix UnboundLocalError: local variable 'platform' referenced before assignment
* add test to protect against regression
2019-11-21 22:45:33 +01:00
mayeut ce93a03098 Fix tests on Windows Python 3.8 2019-11-09 12:16:25 +01:00
Yannick Jadoul 7362075b61 Changing variable name of BuildSelector instance, updating Python version in test 04_build_skip, and adding unit tests for BuildSelector 2018-09-23 13:08:26 +02:00
Joe Rickerby 34e8ee0f25 Fix empty env string case 2017-09-06 18:35:42 +01:00
Joe Rickerby f56ddda157 Make shell evals work and add tests for that 2017-09-02 22:09:32 +01:00
Joe Rickerby 5ae4da631f Add environment code satisfying unit test 2017-09-01 13:24:12 +01:00
Joe Rickerby fd385a9bf8 Add some tests for the environment functionality 2017-08-30 19:05:06 +01:00