BackDoorBuster/.github/workflows/detection-test.yml
dqy 9be13bc4e3
Some checks failed
Detection test / build (pull_request) Has been cancelled
fix: 修改自动测试配置
2024-04-20 11:27:06 +08:00

27 lines
605 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Detection test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10.9
uses: actions/setup-python@v2
with:
python-version: "3.10.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
# 如果你的测试需要其他依赖可以在这里添加pip install命令
- name: Run tests
run: |
python -m unittest discover -s tests