Wykres commitów

408 Commity (docs-dev)

Autor SHA1 Wiadomość Data
Hal Wine 6f59fdb20f Refactor to eliminate need for volume mount
This change allows, imo, the test to be clearer, and should also speed
up the test.
2020-04-19 16:41:11 -07:00
Hal Wine af5d9c7129 Add failing test for bare env argument value 2020-04-18 09:59:35 -07:00
Tim Head 27bca4a351 Add reported failing spec 2020-03-27 15:32:00 +01:00
Tim Head 110d34d041 Improve handling of pip arguments when detecting local dependencies 2020-03-27 15:28:19 +01:00
Tim Head 5ef65f9806 Formatting changes only 2020-03-27 15:15:14 +01:00
YuviPanda 798ba4f4bd Fix conda test to account for newer conda 2020-03-04 22:12:38 +05:30
Tim Head 26542dfc85
Merge pull request #851 from manics/mran-latest
[MRG] If looking for latest MRAN URL try earlier snapshots too
2020-02-24 10:19:09 +01:00
Simon Li 6a07a48b2d Test R latest MRAN date handling 2020-02-22 11:29:59 +00:00
Simon Li 39f6fc2790 unit test for utils.execute_cmd no EOL 2020-02-16 14:26:54 +00:00
Chris Holdgraf 900d280561
[MRG] add Hydroshare as a content provider (#800)
[MRG] add Hydroshare as a content provider
2020-02-03 10:52:48 -07:00
Tim Head 356ea10868
Merge pull request #840 from minrk/py38
Python 3.8 support
2020-01-30 16:10:37 +01:00
Min RK 7d20da1d04 add test for py38 2020-01-30 11:53:16 +01:00
Uwe L. Korn 5421e09d2b Make tests/conda/r/verify excutable 2020-01-30 10:51:47 +01:00
Uwe L. Korn ffbc7c0a6b Add tests for r-in-conda 2020-01-30 08:15:42 +01:00
Scott Black 02d0107510 Merge remote-tracking branch 'upstream/master' into hydroshare-content-provider 2020-01-29 10:14:01 -07:00
Min RK a337ee8020 update node10 test to reflect the removal of conda nodejs 2020-01-29 16:38:24 +01:00
Tim Head 4598a08ff9 Remove a test of legacy buildpack 2020-01-25 07:42:14 +01:00
Tim Head 9cfdb9b5f4 Add test for deprecated legacy buildpack
Tests that the legacy buildpack raises exceptions when it is triggered.
2020-01-25 07:35:00 +01:00
Scott Black 0c15cb1251 cleanup tests and formatting 2019-12-07 13:34:49 -07:00
Scott Black cb7bb0bb43 remove test parameterization and use fix regex match 2019-12-06 17:36:50 -07:00
Scott Black 776d538689 update tests and code to follow best practices pointed out in review 2019-12-06 16:31:59 -07:00
David Brochart 56e6c116f3 Add test 2019-11-05 18:01:06 +01:00
Scott Black d657453b3f update hydroshare version fetch to assume timestamp is in utc 2019-10-01 11:16:34 -06:00
pughdr d64f050d34 Bumped conda version to 4.7.12 2019-10-01 11:25:10 +03:00
Scott Black dddc45acfb reformatting with lint 2019-09-30 13:50:24 -06:00
Scott Black 21e61f3099 add hydroshare resource versioning and raise exception fetch fails 2019-09-25 14:37:19 -06:00
Scott Black d89f3a66aa update hydroshare content provider to doi and add tests 2019-09-25 09:59:44 -06:00
Tim Head bfbec349c2
[MRG] Add support for installing different versions of R (#772)
[MRG] Add support for installing different versions of R
2019-09-18 08:15:11 +02:00
Kacper Kowalik (Xarthisius) 4df4fd6ab4
Download individual files instead of zip bundle 2019-09-17 15:44:56 -05:00
Kacper Kowalik (Xarthisius) a2f8228b15
Match DV hosts based on netloc instead of url 2019-09-16 15:03:12 -05:00
Kacper Kowalik (Xarthisius) 8edafd0d07
Add tests 2019-09-13 13:42:41 -05:00
Daniel Nüst a40e1799bd fix content_id for Figshare 2019-09-11 13:45:16 +02:00
Daniel Nüst f1ec646d2e add support for Figshare versions > 9 2019-09-11 13:18:20 +02:00
Daniel Nüst 698b8a1d7e try to improve test coverage 2019-09-11 13:17:48 +02:00
Daniel Nüst b2b75600c0 handle versions in Figshare properly 2019-09-09 08:37:02 +02:00
Daniel Nüst b2b6030492 initialize hosts as instance variable 2019-09-08 21:39:48 +02:00
Tim Head d8c8259343 Raise exception for unsupported R versions 2019-09-08 17:19:50 +02:00
Daniel Nüst e6cd4b19d9 reuse hosts definition in Zenodo tests 2019-09-08 14:51:17 +02:00
Daniel Nüst 0e4029bb8d add Figshare content provider
moving common functions to a DoiProvider
2019-09-08 14:51:17 +02:00
Min RK f47acaa1bd use getpass.getuser instead of os.getlogin
os.getlogin doesn't work everywhere (can raise OSError, inappropriate ioctl for device)
2019-09-08 11:54:22 +02:00
Tim Head eae42740b6 Add tests for R version handling 2019-09-08 07:25:10 +02:00
Min RK 8ef5faa2ab
Merge pull request #779 from nuest/docker_daemon_logmessage
add explicit log message on failing Docker connection
2019-09-07 14:07:03 +02:00
Min RK 4f428c3055
Merge pull request #681 from Xarthisius/abspath_in_scripts
[MRG] Allow absolute paths in build_script_files. Fixes #673
2019-09-07 12:33:14 +02:00
Daniel Nüst b3f82db558 exit and show clean error message (no log) if docker connection fails 2019-09-07 12:16:41 +02:00
Daniel Nüst c8cd3269c0 add explicit log message on failing Docker connection, see #774 2019-09-07 09:22:00 +02:00
GeorgianaElena 75f4a70fec Black refactor 2019-08-30 11:26:48 +03:00
GeorgianaElena 5e4932b704 Added test for open_guess_encoding 2019-08-30 11:06:53 +03:00
Tim Head d72c60182a
Merge pull request #728 from scottyhq/nopip
[MRG] switch pip packages to conda-forge in conda buildpack
2019-08-05 10:21:14 +02:00
Samnan Rahee 6efe82b9b7 rewrite /test/units/test_semver.py using @pytest.mark.parametrize fixes #615 2019-08-02 15:08:43 +06:00
Scott Henderson cfaa552cb4 node test for system package and conda-forge 2019-07-31 22:52:24 +00:00
Scott Henderson 5ea4c29b83 bump conda minor version to 4.7.10 and refreeze 2019-07-29 17:30:50 +00:00
Tim Head e24e5d91ca Add test for R buildpack's get_preassemble_script_files 2019-07-23 18:23:30 +02:00
Min RK 009d09815a test local pip requirements 2019-07-18 14:40:17 +02:00
David R. Pugh 399b339a4a [WIP] Version bump Conda from 4.6.14 to 4.7.5 (#719)
Version bump conda to 4.7.5

Co-authored-by: pughdr <david.pugh@kaust.edu.sa>
2019-07-12 18:50:11 +02:00
Min RK bbe2b961ad bump xeus-cling in tests
so we don't have an old env relying on the free channel
2019-07-09 16:12:22 +02:00
Tim Head b5a506e0b7 Switch to binder-examples/requirements for our tests 2019-07-06 15:30:21 +02:00
Kacper Kowalik (Xarthisius) f80fb4b39b
Handle root user case more gracefully. Fixes #696
If user_id is root, exit only from cmdline. Raise exception if r2d was
invoked as a library.
2019-06-28 11:46:01 -05:00
Kacper Kowalik (Xarthisius) 24234d9365
Allow absolute paths in build_script_files. Fixes #673 2019-06-28 08:44:11 -05:00
Tim Head 6e93cb06a4
Merge pull request #649 from consideRatio/pipenv-support
[MRG/REVIEW] Support Pipfile / Pipfile.lock with pipenv
2019-06-26 07:26:35 +02:00
Erik Sundell 0ff737df1b
Fix typo
Co-Authored-By: Tim Head <betatim@gmail.com>
2019-06-25 09:17:30 +02:00
Erik Sundell efff66b81b
Fix typo
Co-Authored-By: Tim Head <betatim@gmail.com>
2019-06-25 09:17:04 +02:00
Erik Sundell e5160e4b3f Autoformatting 2019-06-23 06:38:31 +02:00
Erik Sundell 578fca9273 Add test for using py2 with pipfile 2019-06-23 05:45:25 +02:00
Tim Head 70819410f1
[MRG] Generalize Zenodo content provider to support other Invenio repositories (#704)
[MRG] Generalize Zenodo content provider to support other Invenio repositories
2019-06-21 09:48:52 +02:00
Tom Morrell 93147888c5 Reformatting and better tests 2019-06-20 13:22:17 -07:00
Tom Morrell 6d785404fb Typo 2019-06-19 08:38:24 -07:00
Tom Morrell 55b19b8369 Typo 2019-06-18 15:30:37 -07:00
Tom Morrell 87f33e3b6a Full generalization and support for CaltechDATA 2019-06-18 15:11:06 -07:00
Erik Sundell c30337097e Autoformatting applied 2019-06-18 00:38:06 +02:00
Min RK 9463b3bf8c verify lfs files 2019-06-13 13:53:18 +02:00
Erik Sundell 6de7a8c97a Black formatting applied 2019-06-04 09:14:32 +02:00
Erik Sundell e58b5c316e Merge remote-tracking branch 'upstream/master' into pipenv-support 2019-06-04 08:53:56 +02:00
Tim Head 8b004e06dc Apply auto formatting
Apologies to anyone finding this commit via git blame or log

run the autoformatting by

    pre-commit run --all-files
2019-06-03 21:37:25 +02:00
Tim Head 71a78986c2 Add external test for Zennodo provider 2019-05-30 08:33:12 +02:00
Tim Head 363c962efd Add a urlopen helper to Zenodo content provider
Use a helper function to inject a default user-agent header into every
request we make.
2019-05-29 22:27:09 +02:00
Tim Head 8fe9c71826 Mock urlopen calls during Zenodo tests 2019-05-29 22:27:09 +02:00
Tim Head ec8659e62f Add tests for Zenodo content provider 2019-05-29 22:27:09 +02:00
Yuvi Panda c7658dbc45
Merge pull request #695 from betatim/update-nodejs-test
[MRG] Update verification of Node install
2019-05-29 12:12:25 -07:00
Tim Head 60004a29de Update verification of Node install
Instead of checking the minor version as well only check the major
version of npm
2019-05-29 10:21:03 +02:00
Min RK 9bf2e13832 test `conda install` in the default env in postBuild 2019-05-24 11:04:47 +02:00
Tim Head 02e0de8717 Add test that default username is picked 2019-05-23 09:45:28 +02:00
Erik Sundell 5367f80541 Test Pipfile in binder-dir with Setup.py 2019-05-12 17:45:17 +02:00
Erik Sundell 2b0aa99d84 Merge remote-tracking branch 'upstream/master' into pipenv-support 2019-05-12 15:44:10 +02:00
Erik Sundell 10e9bb9bf6 extract pipfile: move tests 2019-05-12 15:08:40 +02:00
Kacper Kowalik (Xarthisius) caef6686d1
Do not try to build the image with root as the primary user
Fixes #267 and #395
2019-05-09 13:06:02 -05:00
Tim Head e66f0af23c
Revert "[MRG] Do not try to build the image with root as the primary user." 2019-05-09 13:14:32 +02:00
Kacper Kowalik (Xarthisius) 7d948bda8d
Do not try to build the image with root as the primary user
Fixes #267 and #395
2019-05-08 14:55:43 -05:00
Tim Head 032baf6d04 Add check to `build()` for memory limit type 2019-05-08 14:23:43 +02:00
Tim Head 9f44075839 Fix cache-from tests to pass memory limit as integer 2019-05-08 13:20:10 +02:00
Tim Head 5adc4b257e Update base image used for memory limit checks 2019-05-07 19:12:34 +02:00
Tim Head 92d69010c7
Merge pull request #652 from betatim/fix-memory-limit
[MRG] Fix handling of memory limit command line argument
2019-04-30 21:34:52 +02:00
yuvipanda c0a33b340b Add test for integral --build-memory-limit 2019-04-30 10:46:09 -07:00
Tim Head 5e67e3c743
Support .binder directory (#653)
Support .binder directory
2019-04-30 18:29:38 +02:00
Joseph Hamman 6de4c5ea6b add unit tests for binder dir 2019-04-30 08:35:58 -07:00
Tim Head e2c7de8d19 Update Julia tests for new conda env path 2019-04-30 08:43:19 +02:00
Min RK 2acf0974c3 miniconda is 4.6.14 2019-04-26 16:25:41 +02:00
Min RK 186e1bbc5d repo-path verifies conda prefix 2019-04-26 16:15:40 +02:00
Min RK 51f15ee7bd update some tests with new expectations
- conda is not importable in the frontmost python
- sys.executable is in $NB_PYTHON_PREFIX (this was true before, but it's value has changed)
2019-04-25 16:51:05 +02:00
Min RK 5f285b74e8 verify conda activation (and thereby entrypoint)
in tests/conda/simple

use pytest for better error reporting
2019-04-25 16:11:23 +02:00
Erik Sundell b80aba447c Add Pipfile + binder-folder tests 2019-04-21 23:45:27 +02:00