Commit Graph

65 Commits

Author SHA1 Message Date
GeorgianaElena
8e1d360eb4 Make bootstrap_pip_spec arg optional 2020-04-30 13:31:26 +03:00
GeorgianaElena
d00245e3bf Upgrade pip 2020-04-23 13:14:32 +03:00
GeorgianaElena
4f0a128c49 Use PR username when no CircleCi project 2020-03-05 21:04:56 +02:00
GeorgianaElena
957739831b Remove curl and jq 2020-02-24 14:20:37 +02:00
GeorgianaElena
5320b43c05 Use commit to install 2020-02-24 14:12:42 +02:00
GeorgianaElena
904d18e2d6 Halt upgrade test when on master 2020-02-21 11:05:14 +02:00
GeorgianaElena
b51467dcd3 Some refactoring 2020-02-20 13:31:17 +02:00
GeorgianaElena
36f79340ec Reuse install cmd 2020-02-19 12:05:59 +02:00
GeorgianaElena
6fd2e44b7c Fix 2020-02-19 11:57:11 +02:00
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
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
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
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
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
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
yuvipanda
9479f3c6b9 Parallelize unit tests in CI with pytest-xdist 2018-07-11 09:31:01 -07:00