BackDoorBuster/.github/workflows/detection-test.yml
dqy bfcbf99cf4
Some checks failed
Detection test / build (pull_request) Failing after 35s
fix: 修改自动测试配置
2024-04-20 11:20:29 +08:00

27 lines
604 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: ubuntu-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