BackDoorBuster/.github/workflows/python-test.yml
dqy 2b1847715d
Some checks failed
Python application test / build (pull_request) Failing after 21s
fix: 修改自动测试
2024-04-20 12:04:10 +08:00

26 lines
516 B
YAML

name: Python application test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10.1"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
python -m unittest discover -s tests