updated workflow

This commit is contained in:
Marvin Zhang
2022-06-13 13:07:44 +08:00
parent a3f17a8187
commit 7953d8b401
2 changed files with 11 additions and 11 deletions

View File

@@ -146,7 +146,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 +167,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