Commit Graph

60 Commits

Author SHA1 Message Date
Ross McFarland 927ca1e8bc Revert back to .[dev], .[test] is not (yet) universally a thing 2022-10-16 17:46:23 -07:00
Ross McFarland 3125d1f7aa Explicitly install pytest-network in test-module in case underlying module doesn't include it 2022-10-16 17:16:56 -07:00
Ross McFarland 7d7cf49522 Install test requirements, not dev in test-module 2022-10-16 17:16:22 -07:00
Ross McFarland 4d025faa21 pyproject.toml is a better indicator of poetry 2022-10-16 16:00:43 -07:00
Ross McFarland c293bb19b3 Add ./script/test-module support for poetry and sukiyaki/octodns-netbox to the actions module list 2022-10-16 15:56:34 -07:00
Ross McFarland 51f8eb17f0 Update to latest best practice for ignore-revs and hooks 2022-09-06 12:49:37 -07:00
Ross McFarland e116d26eec Implement black formatting 2022-07-04 12:27:39 -07:00
Ross McFarland bdc10c45ea Merge branch 'master' into pep440-style-versions 2022-03-27 07:44:31 -07:00
Ross McFarland 45123a4c81 Split out cibuild-setup-py 2022-03-27 07:42:35 -07:00
Ross McFarland d207df9e40 Implement pep440 style public and local version numbers 2022-03-27 07:34:08 -07:00
Ross McFarland c39733cf91 Update requirements*.txt to the latest 2022-03-10 07:09:58 -08:00
Ross McFarland 97c49d1152 Manually runnable modules test 2022-03-09 06:44:58 -08:00
Ross McFarland fe7f96e215 Merge pull request #868 from octodns/cibuild-fully-vet
Fully vet the setup.py requirements and installed code during cibuild
2022-01-28 15:22:22 -08:00
Ross McFarland 83c0454a88 Include --disable-network flag in ci installed test 2022-01-28 12:29:30 -08:00
Ross McFarland 562a2c9e87 Rework how we find and exclude ourself in update-requirements 2022-01-28 12:19:34 -08:00
Ross McFarland fb7addcf3f .[dev] install defeats the purpose and file installs octodns 2022-01-27 13:15:48 -08:00
Ross McFarland 68aca50aa7 env and versions after the source 2022-01-27 13:03:53 -08:00
Ross McFarland b92b23d607 Use . rather than source, latter is not always available 2022-01-27 12:33:24 -08:00
Ross McFarland 32f0092263 Don't change into the venv, won't find tests there 2022-01-27 12:30:25 -08:00
Ross McFarland e495633aeb Fully vet the setup.py requirements and installed code during cibuild 2022-01-27 12:27:26 -08:00
Ross McFarland 4dff97e8f6 Rework update-requirements and setup.py to use pip's setup.py support 2022-01-27 10:17:30 -08:00
Ross McFarland b4e006f60f Print sorted frozen and dev_frozen to match files 2022-01-26 17:57:33 -08:00
Ross McFarland e25b618e95 Initial pass at script/update-requirements, results of run 2022-01-26 17:47:31 -08:00
Ross McFarland 7efd4f8b2f Use pytest's built in coverage support 2022-01-14 10:09:34 -08:00
Ross McFarland 3ed6d743e6 Switch to pytests, add a tiny bit of smoke test coverage to get something coverage no longer gets 2022-01-13 14:26:30 -08:00
Benjamin Kane bbcdbde679 replace virtualenv with venv 2021-10-21 11:52:49 -07:00
Ross McFarland 5774e7490b Add changelog helper script 2021-09-28 17:43:03 -07:00
Ross McFarland 47f94cc50e use build module with both sdist and wheel packages 2021-09-28 17:42:09 -07:00
Ross McFarland c878ec6eee Install nose no-network and timer plugins, use no-network in test & coverage 2021-09-02 05:00:15 -07:00
Viranch Mehta f90d261133 drop Azure DNS env vars in scripts 2021-06-09 15:13:05 -07:00
Ross McFarland 364b70048f Fix coverage pragma grep 2020-11-02 07:27:48 -08:00
Dan Hanks 41b3018a79 Change continent code for Timor Leste 2020-06-17 14:44:51 -04:00
Ross McFarland ea5df74c3b If VENV_PYTHON is not specified default to python3 2020-06-12 07:52:44 -07:00
Dan Hanks 1569d94513 Add support for geo-targeting of CA provinces
- For providers that support such
2020-06-03 10:04:53 -04:00
Ross McFarland a1b72ac29f Ignore E741, flags single-letter var names in comprehensions which I want to allow 2020-06-01 06:26:48 -07:00
Ross McFarland b7e75b700d Fix code coverage for NS1 2020-05-08 08:44:26 -07:00
Ross McFarland fd037e873b Transip v2.1.1, back out test skips and coverage omits 2020-03-16 07:45:32 -07:00
Pavan Chandrashekar 4432d49591 Minor fix. Coverage uses bourne shell, not bash 2020-03-10 12:41:16 -07:00
Pavan Chandrashekar 3ffde7330a Bypass transip tests, they are blocking octodns CI 2020-03-10 10:14:11 -07:00
Ross McFarland 7a623f167f Test python setup build in CI 2019-11-04 14:57:28 -08:00
Ross McFarland 0a7d63ef06 Show line numbers missing coverage 2019-10-09 14:35:53 -07:00
Ross McFarland e3ad57d15b twine check before upload 2019-09-30 10:18:35 -07:00
Peter Dave Hello a516f2ca7c Refactor shell script syntax and consistency
- Add a missing space for styling
- Replace legacy "\`...\`" with `$(...)`
- Quote variable to prevent word splitting
- Use builtin `command -v` instead of non-standard `which`
- Add two missing `>&2` redirection for error/warning message
2019-04-13 22:04:04 +08:00
Ross McFarland 52d99bd219 Merge remote-tracking branch 'origin/master' into dynamic-records 2018-12-14 10:15:50 -08:00
Ross McFarland 91b37192ff Omit cmds from coverage, print report, enforce 100% 2018-12-14 09:49:31 -08:00
Ross McFarland 50ae8054c7 First pass at GeoCodes and geo_data for validating/working with geo codes 2018-12-10 12:55:18 -08:00
Ross McFarland d6b0726a09 Minor fixes to script/release to source env 2018-08-20 10:49:58 -07:00
Ross McFarland 4f577bbcab Include a >=10.0.1 for pip -U pip 2018-04-20 12:45:53 -07:00
Ross McFarland f86c06d304 Revert the setup.cfg infra and go back to requirements.txt
I've continually run into problems with the setup.cfg route that I'm not
interested in investing the time to debug and fix. Looking around it doesn't
seem to be very common yet so I've had a hard time finding help/docs etc.
2018-04-20 12:35:58 -07:00
Ross McFarland 3ea78af8e1 pycodestyle updates, mostly escaping \, couple r's, ignore break on binary 2018-04-15 09:58:36 -07:00