Skip to content

Commit

Permalink
Satisfy testing on macOS
Browse files Browse the repository at this point in the history
This skips some tests currently not working on macOS.
  • Loading branch information
amotl committed Oct 28, 2020
1 parent f2617dd commit f32c5e4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
9 changes: 9 additions & 0 deletions DEVELOP.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ To run against a single interpreter, you can also do::
listening on the default CrateDB transport port to avoid side effects with the
test layer.

In order to run the tests on other operating systems than Linux, invoke::

./bin/test-macos

This will skip some tests currently not working on macOS. It can also be used
to speed up the tests, because the tests for testing the test layer will also
be skipped.


Preparing a Release
===================

Expand Down
19 changes: 18 additions & 1 deletion base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,34 @@ eggs = crate
recipe = zc.recipe.egg
eggs = createcoverage

[crate]
[crate:linux]
recipe = hexagonit.recipe.download
url = https://cdn.crate.io/downloads/releases/crate-${versions:crate_server}.tar.gz
strip-top-level-dir = true

[crate:macosx]
recipe = hexagonit.recipe.download
url = https://cdn.crate.io/downloads/releases/cratedb/x64_mac/crate-${versions:crate_server}.tar.gz
strip-top-level-dir = true

[crate:windows]
recipe = hexagonit.recipe.download
url = https://cdn.crate.io/downloads/releases/cratedb/x64_windows/crate-${versions:crate_server}.zip
strip-top-level-dir = true

[test]
relative-paths=true
recipe = zc.recipe.testrunner
defaults = ['--auto-color']
eggs = crate [test,sqlalchemy]

[test-macos]
relative-paths=true
working-directory = ${buildout:directory}
recipe = zc.recipe.testrunner
defaults = ['--auto-color', '--ignore_dir', 'testing', '--test', '!test_no_retry_on_read_timeout|test_client_threaded|test_client_keepalive|test_username|test_default_schema']
eggs = crate [test,sqlalchemy]

[linter]
recipe = zc.recipe.egg:script
eggs = flake8
Expand Down

0 comments on commit f32c5e4

Please sign in to comment.