Sikuwa first commit
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
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
This commit is contained in:
44
.gitee/pipelines/ci.yml
Normal file
44
.gitee/pipelines/ci.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user