Simon Li
704b91c4f1
set `external-verify` name in test
...
Co-authored-by: Min RK <benjaminrk@gmail.com>
2025-02-12 13:18:31 +00:00
Simon Li
0186eef20d
Add basic UI Playwright tests
2025-02-12 00:14:01 +00:00
Min RK
2f2fa483eb
update import of shlex.quote
...
hasn't been pipes.quote since 3.3
2024-08-08 13:51:33 +02:00
Simon Li
237375f3a4
pytest >=7,<9
2024-01-28 19:26:24 +00:00
Simon Li
6fe9ee6763
pytest: replace fspath with path
2024-01-28 18:04:51 +00:00
YuviPanda
e586b26110
Upgrade base image to Ubuntu 22.04
...
18.04 was EOL May 2023, with only paid support now available
(https://ubuntu.com/blog/18-04-end-of-standard-support ).
Let's bump the default base image to 22.04. This might break
some repos that have apt.txt based packages, but I don't
really think there's a way around that. If specific package pinning
is needed, users unfortunately need to use a Dockerfile.
Ref https://github.com/jupyterhub/repo2docker/issues/1258
2023-06-13 13:03:05 +05:30
YuviPanda
446e67820e
Add test fixture for setting base image
2022-12-10 13:17:48 -08:00
pre-commit-ci[bot]
27c2b403db
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-31 22:32:14 +00:00
Erik Sundell
15a1fb6e2d
refactor: manually add transitions to f-strings
2022-10-31 21:22:32 +01:00
pre-commit-ci[bot]
5a93542321
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-31 21:22:32 +01:00
Min RK
bd02e2e997
run check-tmp as root
...
- avoids permission errors
- lets us check /root/ where we've left files in the past
2022-10-31 15:22:56 +01:00
Min RK
38f5aceb45
Add check-tmp step to local repo tests
...
- check-tmp checks disk usage in a collection of directories,
and fails if they exceed a certain size, reporting on contents
- re-use images and skip build stage in verify/check-tmp tests.
Should save some time,
even though the build cache would have been used.
This way, we don't even check.
2022-10-31 15:22:52 +01:00
Nicholas Bollweg
23e195f363
add path check in conda/repo-dir, more docs in conftest.py
2022-10-31 13:09:17 +01:00
Min RK
e9ad8fdb41
run submodule test over https
...
avoids assertion with file-based submodules
2022-10-24 14:30:08 +02:00
Erik Sundell
42bb1b384a
ci: adjust to and rename extra-args.yaml to test-extra-args.yaml
...
I misunderstood extra-args.yaml to be a file that was recognized by
repo2docker's CLI, but in reality it was just a file recognized by the
repo2docker test suite. Following that, I renamed this testing specific
file to test-extra-args.yaml to help others avoid making that mistake
and added comments to clarify that.
This commit also gathers the conda buildpacks separate readme files into
a single readme file.
2022-10-15 15:42:35 +02:00
Tim Head
fc9891b541
Upgrade custom test infrastructure for pytest 6.0.0
2020-07-30 15:15:56 +02:00
David Brochart
56e6c116f3
Add test
2019-11-05 18:01:06 +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
Tim Head
71a78986c2
Add external test for Zennodo provider
2019-05-30 08:33:12 +02:00
David Hoese
ec6973c5fd
Fix git submodule test sha comparison
2019-04-08 08:26:44 -05:00
David Hoese
4bd1d23469
Add tests for git submodule handling
2019-04-08 08:09:23 -05:00
Tim Head
e7018d7ca5
Add caching of already built repositories
...
Add tests for image caching
Adjust tests and main app for cached builds
Remove obsolete command-line handling
Remove print statement from test
Fix subdirectory handling
Put back exception instead of sys.exit()
2018-12-21 11:20:51 +01: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
yuvipanda
e1ead75302
Move argument parsing out of Repo2Docker class
...
Argument parsing should only be used when calling from
the command line, and not be deeply tied into the class
itself. This makes it easier for folks to just set
traitlets on an empty class and start it, without having to
deal with passing arguments.
This breaks how people might already be using Repo2Docker as
a library, so should not be part of 0.7
2018-12-14 13:15:33 -08:00
Derek Ludwig
2d2738b6db
Merge remote-tracking branch 'upstream/master'
2018-10-15 10:21:41 -07:00
Evert Rol
754edd01c4
Move test fixture to conftest.py
2018-10-08 15:36:45 +02:00
Derek Ludwig
3ef8b4e934
Cannot import from conftest
2018-09-26 15:33:52 -07:00
Tim Head
535e77a1d6
Switch order of local repository test collection
...
Feels more natural to first attempt building the image and then running
the verify script in it.
Changed the name of the two tests to make it easier to see which test
failed (verify or build).
2018-09-15 08:53:03 +02:00
Gladys Nalvarte
89686833c0
Updated app.py to make sure that images can start notebook servers
...
Includes an update of conftest.py file to check that the container
is running with jupyter notebook in all the builders.
2018-07-03 10:55:31 +02:00
Min RK
85fd7cff31
test appendix
2018-02-14 11:37:44 +01:00
Min RK
e10c3eafb7
improve failure message
2018-02-09 16:48:26 +01:00
Min RK
3d369aff8a
run tests in memory instead of subprocesses
...
greatly improves error/failure reporting
2018-02-09 16:48:26 +01:00
Tim Head
b893463735
Apply PEP8 style roller
2017-12-08 15:32:21 +01:00
Yuvi Panda
cad9deb7d0
Revert "Add handling for no ref being provided"
2017-11-01 16:23:29 -07:00
Tim Head
cb1b1442f2
Add handling for no ref being provided
...
We do not need to checkout a specific ref if none is provided. Added a
test to check the behaviour.
2017-11-01 21:56:13 +01:00
yuvipanda
cf59785c41
Test some external repositories we care about
...
So we know if we break something!
These all need better verification scripts tho.
2017-07-30 00:35:41 -07:00
yuvipanda
514ab7d985
Add integration tests!
...
We run jupyter-repo2docker and verify that the things we
expect to be installed are installed.
2017-07-29 16:11:02 -07:00