#866 添加对单日预约时长和同时段预约的限制,修改前端的提示信息 #564
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: basetest | |
on: | |
push: | |
branches: [ develop ] | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Configure local json | |
run: | | |
bash scripts/default_config.sh | |
- name: Start containers | |
run: | | |
docker compose -f .github/docker-compose.yml up -d | |
- name: Test | |
run: | | |
docker compose -f .github/docker-compose.yml exec -T yppf python3 manage.py test | |
- name: Dump docker logs on failure | |
if: failure() | |
uses: jwalton/gh-docker-logs@v2 |