fix: 修改自动测试配置
Some checks failed
Detection test / build (pull_request) Has been cancelled

This commit is contained in:
dqy 2024-04-20 11:37:00 +08:00
parent 9be13bc4e3
commit c140f21b8e

View File

@ -11,11 +11,11 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v4
- name: Set up Python 3.10.9 - name: Set up Python 3.8.15
uses: actions/setup-python@v2 uses: ./
with: with:
python-version: "3.10.9" python-version: "3.8.15"
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
@ -23,4 +23,4 @@ jobs:
# 如果你的测试需要其他依赖可以在这里添加pip install命令 # 如果你的测试需要其他依赖可以在这里添加pip install命令
- name: Run tests - name: Run tests
run: | run: |
python -m unittest discover -s tests python -m unittest ./tests/test_backdoor_detection.py