BackDoorBuster/.github/workflows/python-tests.yml
sangge-redmi 1f9ccc53c1
Some checks failed
Python application test / build (pull_request) Failing after 13m20s
update: 使用本地actions
2024-04-29 18:22:07 +08:00

22 lines
532 B
YAML

name: Python application test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: https://git.mamahaha.work/actions/checkout@v2
- name: Install dependencies
run: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
- name: Run tests
run: python -m unittest discover -s tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
http_proxy: http://192.168.1.3:10809