增加admin后台对于每周活动总结的管理&2023年度总结数据导出 #393
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 |