feature/match #5
@ -1,4 +1,4 @@
|
||||
name: Detection test
|
||||
name: Python application test
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -8,14 +8,14 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python 3.8.15
|
||||
uses: ./
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: "3.8.15"
|
||||
python-version: 3.8
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
@ -23,4 +23,4 @@ jobs:
|
||||
# 如果你的测试需要其他依赖,可以在这里添加pip install命令
|
||||
- name: Run tests
|
||||
run: |
|
||||
python -m unittest ./tests/test_backdoor_detection.py
|
||||
python -m unittest discover -s tests
|
Loading…
x
Reference in New Issue
Block a user