From c140f21b8efce6a6447f8f2f2f8a496774782401 Mon Sep 17 00:00:00 2001 From: dqy <1016751306@qq.com> Date: Sat, 20 Apr 2024 11:37:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/detection-test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/detection-test.yml b/.github/workflows/detection-test.yml index 3ab40b2..7ec4f52 100644 --- a/.github/workflows/detection-test.yml +++ b/.github/workflows/detection-test.yml @@ -11,11 +11,11 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.10.9 - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - name: Set up Python 3.8.15 + uses: ./ with: - python-version: "3.10.9" + python-version: "3.8.15" - name: Install dependencies run: | python -m pip install --upgrade pip @@ -23,4 +23,4 @@ jobs: # 如果你的测试需要其他依赖,可以在这里添加pip install命令 - name: Run tests run: | - python -m unittest discover -s tests + python -m unittest ./tests/test_backdoor_detection.py