Skip to content

Commit 53680f6

Browse files
Python51888gitee-org
authored andcommitted
!6 添加工作流文件
Merge pull request !6 from Python51888/ccy007
2 parents 55b31a3 + a2d0406 commit 53680f6

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
test:
11+
runs-on: windows-latest
12+
strategy:
13+
matrix:
14+
python-version: [3.8, 3.9, '3.10', '3.11']
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements.txt
28+
29+
- name: Install package in development mode
30+
run: |
31+
pip install -e .
32+
33+
- name: Run tests
34+
run: |
35+
python -m pytest tests/ -v

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pysqlit"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
description = "Python版sqlite"
55
readme = "README.md"
66
requires-python = ">=3.11"

0 commit comments

Comments
 (0)