BackDoorBuster/.github/workflows/python-test.yml
dqy c366c0e672
Some checks failed
Python application test / build (pull_request) Failing after 30s
fix: 修改自动测试
2024-04-20 14:05:43 +08:00

26 lines
517 B
YAML

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