Files
Sikuwa/.gitee/pipelines/ci.yml
so陈 13a1072c6f
Some checks are pending
CI / Test (Python 3.10 on macos-latest) (push) Waiting to run
CI / Test (Python 3.11 on macos-latest) (push) Waiting to run
CI / Test (Python 3.12 on macos-latest) (push) Waiting to run
CI / Test (Python 3.8 on macos-latest) (push) Waiting to run
CI / Test (Python 3.9 on macos-latest) (push) Waiting to run
CI / Test (Python 3.10 on ubuntu-latest) (push) Waiting to run
CI / Test (Python 3.11 on ubuntu-latest) (push) Waiting to run
CI / Test (Python 3.12 on ubuntu-latest) (push) Waiting to run
CI / Test (Python 3.8 on ubuntu-latest) (push) Waiting to run
CI / Test (Python 3.9 on ubuntu-latest) (push) Waiting to run
CI / Test (Python 3.10 on windows-latest) (push) Waiting to run
CI / Test (Python 3.11 on windows-latest) (push) Waiting to run
CI / Test (Python 3.12 on windows-latest) (push) Waiting to run
CI / Test (Python 3.8 on windows-latest) (push) Waiting to run
CI / Test (Python 3.9 on windows-latest) (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Release (push) Blocked by required conditions
Documentation / Build Documentation (push) Waiting to run
Sikuwa first commit
2026-02-20 23:53:48 +08:00

45 lines
974 B
YAML

# Gitee Go 流水线配置
# 文档: https://gitee.com/help/articles/4295
name: gitee-go-pipeline
displayName: 'Sikuwa CI Pipeline'
triggers:
push:
- matchType: BRANCH
branch: master
- matchType: BRANCH
branch: develop
pull_request:
- matchType: BRANCH
branch: master
stages:
- name: test
displayName: '测试阶段'
strategy: naturally
trigger: auto
executor:
type: node-pool
labels:
- linux
steps:
- step: execute@python
name: setup_python
displayName: '设置 Python 环境'
pythonVersion: '3.10'
- step: execute@shell
name: install_deps
displayName: '安装依赖'
script: |
python -m pip install --upgrade pip
pip install click tomli tomli-w nuitka pytest
- step: execute@shell
name: run_tests
displayName: '运行测试'
script: |
pytest tests/ -v