Commit Graph

70 Commits

Author SHA1 Message Date
GeorgianaElena
c71fae19c0 Get PR branch path 2020-02-18 17:53:43 +02:00
GeorgianaElena
f64d762d23 Get env var right 2020-02-18 17:47:45 +02:00
GeorgianaElena
764806b999 Install current pr branch 2020-02-18 16:32:45 +02:00
GeorgianaElena
15d849c275 Add upgrade test 2020-02-18 15:51:33 +02:00
GeorgianaElena
4af48907b0 Get paths right 2020-02-17 17:45:26 +02:00
GeorgianaElena
2af177b753 Use pip from hub env to run tests 2020-02-17 17:13:42 +02:00
GeorgianaElena
b5ad4417a8 Don't copy everyhting 2020-02-17 13:09:16 +02:00
GeorgianaElena
7dccf4bcfe Reuse executor 2020-02-17 10:58:53 +02:00
GeorgianaElena
52d635d07c Reuse command 2020-02-17 10:53:45 +02:00
GeorgianaElena
74831c29bc no checkout 2020-02-07 13:08:08 +02:00
GeorgianaElena
b4b37d84cc Added tests 2020-01-14 13:31:38 +02:00
GeorgianaElena
d302aba7c7 increase integration tests memory 2020-01-13 16:10:28 +02:00
yuvipanda
b259bedab3 Document our minimum RAM requirement 2019-05-19 13:08:57 -07:00
yuvipanda
2c2a4d9b41 Try setting minimum required RAM to 768M
512MB is too little for installing jupyterlab extensions :'(
2019-05-19 12:16:40 -07:00
yuvipanda
48c819b422 Limit memory available in integration tests
This helps us catch times where our minimum recommended
VM size (512MB?) is too little for TLJH to install or
run.

Ref #257
2019-05-19 11:34:05 -07:00
GeorgianaElena
eee29a0957 Replace chp with traefik-proxy 2019-02-13 14:23:02 +02:00
yuvipanda
99e3106b29 Make bootstrap test name / description more generic 2018-11-13 12:35:41 -08:00
yuvipanda
5374f5eaf5 Provide better error message when running on unsupported distro 2018-11-13 12:35:41 -08:00
Chris Holdgraf
138c3b2b70 updating theme and storing docs artifacts 2018-10-17 21:16:30 -07:00
Min RK
b833ce8452 missing arguments in integration test commands
and missing start-container command

for local testing
2018-08-28 12:11:49 +02:00
yuvipanda
5a2ec9e517 Don't fail silently when integration-test commands fail
This will lead to tests reported as passing even when they are actually
failing.
2018-08-12 09:53:49 -07:00
yuvipanda
8b2980a20a Add tests for the plugin mechanism 2018-08-12 09:47:32 -07:00
yuvipanda
93cd0882b6 Switch back to a venv for docs + fix .circle config 2018-08-12 09:12:46 -07:00
Yuvi Panda
ff168838f2 Merge pull request #129 from yuvipanda/better-integration
Make it easier to run multiple independent integration tests
2018-08-12 09:04:10 -07:00
yuvipanda
732e655ada Fixup circle config to match new integration-test.py 2018-08-11 11:02:11 -07:00
yuvipanda
8d582dcba8 Make it easier to run multiple independent integration tests
Provide higher level run-test command in integration-tests.
This runs a number of pytest files in the same container
with the same installation.
2018-08-11 10:59:03 -07:00
Tim Head
358097ef8d Install docs dependencies 2018-08-11 08:29:54 +02:00
Tim Head
ad9ba3634f Install make in the build environment 2018-08-11 08:10:41 +02:00
Tim Head
b48b55e3bd Add documentation build to CI, warnings as errors
Adds a CircleCI job to build the documentation and makes it so that
sphinx warnings are treated as errors.
2018-08-11 08:10:41 +02:00
Min RK
9e76345276 activate test env
needed for codecov to find necessary commands

codecov appears to need git as well

environment variables must be set at runtime using a weird [$BASH_ENV trick](https://circleci.com/docs/2.0/env-vars/#using-bash_env-to-set-environment-variables) since circle doesn't support simple `PATH: bin:$PATH` in the environment variable spec.
2018-08-01 16:19:36 +02:00
yuvipanda
6f99da5d95 Add full integration test with hubtraf
- Fully simulates what a user would be doing
- Also tests tljh-config set and reload functionality
2018-07-28 01:12:13 -07:00
yuvipanda
1e1de15e3f Use a venv to run unit tests
- Can cache entire venv directory. When installing with system
  pip3, /usr/local/bin/ also needs caching - maybe other
  places too!
- Matches how the installer does things more closely
2018-07-23 14:54:25 -07:00
yuvipanda
88b291d989 Cache /usr/local/lib/python3.6 when using pip 2018-07-20 11:49:34 -07:00
yuvipanda
40c7cc84b8 Use pip3 instead of 'pip' when unit testing
Base system pip in ubuntu does not respond to 'pip3'
2018-07-20 11:47:04 -07:00
yuvipanda
b8b2dcf766 Install python manually in the unit test container 2018-07-20 11:44:22 -07:00
yuvipanda
376489cc91 Use ubuntu 18.04 image for running unit tests
This matches the image in which we run integration tests
2018-07-20 11:36:51 -07:00
Min RK
26ebc61a79 move integration-test dockerfile to integration-tests directory 2018-07-16 18:07:17 -07:00
Min RK
7b1efbf16e run integration tests with pytest
adds integration-tests directory
2018-07-16 17:58:14 -07:00
yuvipanda
81d59ad02e [CI] Collect code coverage stats from unit tests 2018-07-11 13:15:49 -07:00
yuvipanda
a1ef5e3205 [CI] Remove base image used for CI
Not necessary, since we can just use different images
for our jobs! <3 CircleCI
2018-07-11 13:08:36 -07:00
yuvipanda
8cef9f6b6d [CI] Don't pipe systemctl output to pager
This makes the CI job hang.
2018-07-11 12:43:40 -07:00
yuvipanda
3e59f7fa14 [CI] Print JupyterHub / CHP status after setup 2018-07-11 12:39:06 -07:00
yuvipanda
8993d717a7 [CI] Give our CI workflow a more descriptive name 2018-07-11 12:33:32 -07:00
yuvipanda
5f2252a5ba [CI] Output all systemd logs after setup to help debugging 2018-07-11 12:33:19 -07:00
yuvipanda
e91ea88722 [CI] Add checkout step to integration job 2018-07-11 12:27:01 -07:00
yuvipanda
e8c8d51490 Standardize on 4 spaces for circle ci config indent
Previously was a mix of 2 and 4 spaces
2018-07-11 12:25:23 -07:00
yuvipanda
e3ae2c3d77 Add explicit 'workflows' to CircleCI config
This allows the jobs to actually run in parallel
2018-07-11 12:21:57 -07:00
yuvipanda
4a028e1927 Split CircleCI into unit test & integration jobs
- Faster, since these can run in parallel
- Hopefully lets us not maintain our own base image
2018-07-11 12:16:46 -07:00
yuvipanda
4d9d9c2d99 Bake docker-ce into the base image
Speeds up CI runs by quite a bit
2018-07-11 10:12:32 -07:00
yuvipanda
20f3116e58 Revert "Parallelize unit tests in CI with pytest-xdist"
conda tests don't like it, and I'm not going to try to
debug them right now.

This reverts commit 9479f3c6b9.
2018-07-11 09:40:26 -07:00