mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Use commit to install
This commit is contained in:
@@ -57,12 +57,7 @@ commands:
|
|||||||
- run:
|
- run:
|
||||||
name: Run basic tests
|
name: Run basic tests
|
||||||
command: |
|
command: |
|
||||||
PR_INFO_URL=https://api.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/pulls/$CIRCLE_PR_NUMBER
|
BOOTSTRAP_PIP_SPEC=git+https://github.com/$CIRCLE_PROJECT_USERNAME/the-littlest-jupyterhub.git@$CIRCLE_SHA1
|
||||||
PR_BRANCH=`(curl -s $PR_INFO_URL | jq -r ".head.ref")`
|
|
||||||
if [ "$PR_BRANCH" == "null" ];then
|
|
||||||
PR_BRANCH=$CIRCLE_BRANCH
|
|
||||||
fi
|
|
||||||
BOOTSTRAP_PIP_SPEC=git+https://github.com/$CIRCLE_PROJECT_USERNAME/the-littlest-jupyterhub.git@$PR_BRANCH
|
|
||||||
|
|
||||||
.circleci/integration-test.py run-test basic-tests \
|
.circleci/integration-test.py run-test basic-tests \
|
||||||
"$BOOTSTRAP_PIP_SPEC" test_hub.py test_install.py test_extensions.py \
|
"$BOOTSTRAP_PIP_SPEC" test_hub.py test_install.py test_extensions.py \
|
||||||
@@ -76,12 +71,7 @@ commands:
|
|||||||
- run:
|
- run:
|
||||||
name: Run admin tests
|
name: Run admin tests
|
||||||
command: |
|
command: |
|
||||||
PR_INFO_URL=https://api.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/pulls/$CIRCLE_PR_NUMBER
|
BOOTSTRAP_PIP_SPEC=git+https://github.com/$CIRCLE_PROJECT_USERNAME/the-littlest-jupyterhub.git@$CIRCLE_SHA1
|
||||||
PR_BRANCH=`(curl -s $PR_INFO_URL | jq -r ".head.ref")`
|
|
||||||
if [ "$PR_BRANCH" == "null" ];then
|
|
||||||
PR_BRANCH=$CIRCLE_BRANCH
|
|
||||||
fi
|
|
||||||
BOOTSTRAP_PIP_SPEC=git+https://github.com/$CIRCLE_PROJECT_USERNAME/the-littlest-jupyterhub.git@$PR_BRANCH
|
|
||||||
|
|
||||||
.circleci/integration-test.py run-test \
|
.circleci/integration-test.py run-test \
|
||||||
--installer-args "--admin admin:admin" \
|
--installer-args "--admin admin:admin" \
|
||||||
@@ -97,12 +87,7 @@ commands:
|
|||||||
- run:
|
- run:
|
||||||
name: Run plugin tests
|
name: Run plugin tests
|
||||||
command: |
|
command: |
|
||||||
PR_INFO_URL=https://api.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/pulls/$CIRCLE_PR_NUMBER
|
BOOTSTRAP_PIP_SPEC=git+https://github.com/$CIRCLE_PROJECT_USERNAME/the-littlest-jupyterhub.git@$CIRCLE_SHA1
|
||||||
PR_BRANCH=`(curl -s $PR_INFO_URL | jq -r ".head.ref")`
|
|
||||||
if [ "$PR_BRANCH" == "null" ];then
|
|
||||||
PR_BRANCH=$CIRCLE_BRANCH
|
|
||||||
fi
|
|
||||||
BOOTSTRAP_PIP_SPEC=git+https://github.com/$CIRCLE_PROJECT_USERNAME/the-littlest-jupyterhub.git@$PR_BRANCH
|
|
||||||
|
|
||||||
.circleci/integration-test.py run-test \
|
.circleci/integration-test.py run-test \
|
||||||
--installer-args "--plugin /srv/src/integration-tests/plugins/simplest" \
|
--installer-args "--plugin /srv/src/integration-tests/plugins/simplest" \
|
||||||
|
|||||||
Reference in New Issue
Block a user