测试gitea actions
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
liyp 2023-12-09 22:02:38 +08:00
parent cc851254be
commit 2d03550be3
2 changed files with 30 additions and 0 deletions

27
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Default
on:
push:
branches:
- main # 适应你的默认分支
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10 # 适应你的 Python 版本
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build
run: python setup.py bdist

3
.gitignore vendored
View file

@ -1 +1,4 @@
main/__pycache__/
build/
dist/
*.egg-info/