BackDoorBuster/.github/workflows/python-tests.yml
sangge-redmi 80fff100b5
Some checks failed
Python application test / build (pull_request) Failing after 13m28s
fix: fix http proxy
2024-05-14 17:59:19 +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.2:10809