Skip to content

Commit f71b561

Browse files
authored
Prepare for 0.0.2 release (#26)
* Prepare for 0.0.2 release * Add test ci
1 parent 487de03 commit f71b561

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.github/workflows/ci.yml renamed to .github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: ci
1+
name: lint
22

33
on:
44
push:

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
name: test ${{ matrix.python-version }}
13+
strategy:
14+
matrix:
15+
python-version: [ '3.10', '3.11', '3.12', '3.13', '3.14' ]
16+
fail-fast: false
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v6
22+
23+
- name: Set up Python ${{ matrix.python-version }}
24+
run: uv python install ${{ matrix.python-version }}
25+
26+
- name: Install dependencies
27+
run: |
28+
uv sync
29+
30+
- name: Run test
31+
run: uv run pytest

fastapi_oauth20/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
from .clients.linuxdo import LinuxDoOAuth20 as LinuxDoOAuth20
1010
from .clients.oschina import OSChinaOAuth20 as OSChinaOAuth20
1111

12-
__version__ = '0.0.1'
12+
__version__ = '0.0.2'

0 commit comments

Comments
 (0)