feature/match #5
10
.github/workflows/detection-test.yml
vendored
10
.github/workflows/detection-test.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user