BackDoorBuster/.github/workflows/python-test.yml
dqy 52a5c94758
Some checks failed
Python application test / build (pull_request) Failing after 19s
fix: 修改自动测试
2024-04-20 14:00:46 +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@v4
with:
python-version: "3.9.15"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Run tests
run: |
python -m unittest discover -s tests