Wykres commitów

53 Commity (main)

Autor SHA1 Wiadomość Data
Samuel Gaist 77df191536 test(venv): add ignore files above binderdir
This ensures that the ignore files are retrieved from the proper folder.
If they weren't the build would not succeed as the binder folder is
ignored.
2024-01-19 08:45:06 +00:00
Min RK ceb25f85f2
Merge remote-tracking branch 'origin/main' into new-default 2023-02-16 12:41:48 +01:00
Min RK 5f6d76764b
update test expectations in py35/py36 tests
`/usr/bin/env python` is no longer the kernel python
2023-02-15 15:24:16 +01:00
Min RK fbab2cd330
actually change the default Python version to 3.10
this default lives too many places!
2023-02-08 13:25:45 +01:00
Erik Sundell 15a1fb6e2d refactor: manually add transitions to f-strings 2022-10-31 21:22:32 +01:00
Min RK 757799516d
ensure some cache files are cleaned up 2022-10-31 15:23:35 +01: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
yuvipanda e0fcd4a55d Add test for environment.yml + --target-repo-dir
conda sometimes puts stuff in $HOME - specifically under .conda/ -
that might cause package installs to fail due to permission mismatches.

Ref https://github.com/jupyter/repo2docker/issues/604
2019-03-04 22:11:24 +05:30
yuvipanda d8f8c781b2 Bump python default version to 3.7 2019-02-11 12:49:58 -08:00
Gladys Nalvarte 8c6329de61 npm installation 2019-02-07 15:36:00 +01:00
yuvipanda 29407aa83f Put ${REPO_PATH}/.local/bin in PATH too 2018-12-18 11:50:35 -08:00
yuvipanda 21154d3b86 Use REPO_DIR rather than REPO_PATH
https://github.com/jupyter/repo2docker/pull/507#issuecomment-448184651
is a good justification
2018-12-18 11:50:35 -08:00
yuvipanda 66f025720e Add simple python test for --repo-path
extra-args.yaml placed in a test directory can be used
to pass extra arguments to the repo2docker command.
2018-12-18 11:50:24 -08:00
Tim Head 6f624201b3 Make verify script executable 2018-09-15 10:05:25 +02:00
Tim Head 2fedda0828 Update postBuild+start test case
This test was missing a start script, added it. Updated the README to
explain what the test case was doing.
2018-09-15 09:28:19 +02:00
Tim Head d9ed775dca Make verify script executable for Python2 test 2018-09-15 09:28:19 +02:00
Tim Head 16079b9981 Compare to empty string when start script test fails 2018-09-15 08:53:03 +02:00
Tim Head a1df2ebda2 Make `verify` check both server and kernel environments 2018-08-18 13:01:18 +02:00
Tim Head 0ef79326e5 Escape environment variable when using Python string formatting 2018-08-18 12:50:31 +02:00
Tim Head 286f56c391 Split out tests, tweak docs, and a style change
This splits out the test for the launch script from the postBuild script
test. Makes some adjustments to the documentation of the launch script
functionality and applies some pythonista styling.
2018-08-15 17:10:53 +02:00
Joseph Hamman b99ec0587f add start script test 2018-07-31 11:07:59 -07:00
J. Forde e1d47df30e fixing conflict 2018-06-26 15:54:31 -07:00
Min RK 150d1d245e fix verify script for ~/.local/bin 2018-05-23 16:03:07 +02:00
Chris Holdgraf 2f2fde8a11 short docs explanation 2018-05-19 08:02:59 -07:00
yuvipanda 5005c309cc Modify usr-bin test 2018-05-18 18:23:54 -07:00
Tim Head f818fd82be Add test to check for extra directory on PATH 2018-05-18 18:23:20 -07:00
Min RK 2b2eaa8b69 remove some duplicate READMEs from tests
since we don't need every one included in the docs

adds detail to the one that remains
2018-05-07 15:42:45 +02:00
Chris Holdgraf 30b37a35e4 improving readmes for tests 2018-04-24 17:14:01 -07:00
Min RK 593d892e0f readmes in py3 venv tests
remove outdated note about not being able to pick a Python 3.x
2018-04-16 16:58:01 +02:00
Min RK c70057d8e2 verify that Python 3.5 works with venv 2018-04-16 10:56:44 +02:00
Tim Head b79e836af3 Make verify script executable 2018-03-27 14:05:42 +02:00
Tim Head c86fa859ca Add a test to select Python 3 via runtime.txt 2018-03-27 11:00:34 +02:00
Min RK 9809b93f37
Merge pull request #241 from yuvipanda/no-executable
Do not require postBuild to be executable
2018-02-19 15:07:30 +01:00
yuvipanda 01bb6d1e19 Do not require postBuild to be executable
This is hard for windows users and from the GitHub UI,
and provides dubious benefits. So let's remove the requirement!

Fixes #240
2018-02-15 16:46:32 -08:00
Min RK 85fd7cff31 test appendix 2018-02-14 11:37:44 +01:00
yuvipanda efe14e7580 Fix postBuild to work properly 2018-02-01 02:10:30 -08:00
yuvipanda 293be022a5 Bump version checks to work with new python 3.6 2018-01-17 17:22:48 -08:00
nmih bad90d51ac Revise apt.txt and verify to install programs that install to /usr/bin instead of /usr/games 2018-01-02 23:11:33 -08:00
nmih adb17dee78 Add multiple packages to apt.txt to check if all are parsed and installed 2018-01-02 16:45:29 -08:00
nmih 711dbb71a0 Add multiple packages to apt.txt to check if all are parsed and installed 2018-01-02 16:44:19 -08:00
Gladys Nalvarte fa714adfdd Make sure that empty lines are tested 2017-11-30 16:02:10 +01:00
Gladys Nalvarte 82b0275a29 fixing empty lines and comments in apt.txt 2017-11-30 15:50:40 +01:00
yuvipanda 603efee588 Make all bash verify scripts fail on error
Bash scripts by default continue on executing even if any
command errors. That's not the behavior we want for our scripts,
so let's explicitly get them to fail if:

1. Any command exits with non 0 exit code
2. An undefined variable is referenced
2017-11-21 14:53:15 -08:00
Ole Schuett 795e359ad1 Add tests for binder/apt.txt and binder/postBuild 2017-11-17 22:17:41 +01:00
Chris Holdgraf 8825413feb yuvi comments 2017-10-06 18:23:16 -07:00
Chris Holdgraf 56870a3a6c updating docs 2017-10-06 09:36:46 -07:00
Min RK a5188b41b8 make binder directory visible 2017-10-05 00:29:10 +02:00
Min RK a9f0dd0f61 test binder-dir handling 2017-10-04 23:52:10 +02:00
Chris Holdgraf 44ce5c171d updating autogen examples 2017-08-01 11:21:06 -04:00
yuvipanda 7d52aca469 Use travis matrixes to speed up tests 2017-07-29 20:32:12 -07:00