Merge pull request #1124 from crawlab-team/develop

Develop
This commit is contained in:
Marvin Zhang
2022-06-13 13:14:59 +08:00
committed by GitHub
2 changed files with 12 additions and 11 deletions

View File

@@ -8,6 +8,7 @@ on:
release:
types: [ published ]
workflow_dispatch:
workflow_call:
env:
IMAGE_PATH_CRAWLAB_BACKEND: backend
@@ -146,7 +147,7 @@ jobs:
run: |
docker run --rm -d --name crawlab_master \
-e CRAWLAB_NODE_MASTER=true \
-e CRAWLAB_DEMO=false \
-e CRAWLAB_DEMO=true \
-e CRAWLAB_MONGO_HOST=localhost \
-e CRAWLAB_MONGO_PORT=27017 \
-p 8080:8080 \
@@ -167,6 +168,16 @@ jobs:
fi
docker stop crawlab_master
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.8'
- name: Test demo
run: |
pip install crawlab-demo
crawlab-demo validate
- name: Log into registry
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin

View File

@@ -1,10 +0,0 @@
# Test for Crawlab
## Test Cases
Test Case | Steps | Expected Results
--- | --- | ---
Login | |
Signup | |
Upload Spider | |
Edit Spider File | |