删除headers,加入浏览器的标头会导致WOM读取的数据错误,修改世界扫雷网的解析逻辑,使得精准匹配对应的数据 #294
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: Back-end Test | |
on: | |
push: | |
branches: | |
- main # Adjust the branch name as needed | |
pull_request: | |
jobs: | |
check_flag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' # Choose the Python version you want to use | |
- name: Run Test | |
run: python -m unittest back_end/saolei/tests.py -v |