Skip to content

Commit 026bb61

Browse files
committed
add ci workflow
1 parent 739c69a commit 026bb61

File tree

2 files changed

+57
-1
lines changed

2 files changed

+57
-1
lines changed

.github/workflows/ci.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*.*.*"
7+
pull_request:
8+
branches: [main]
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
python-versions: ["3.10", "3.11", "3.12", "3.13"]
20+
environment:
21+
name: demo
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Set up Python
27+
uses: actions/setup-python@v5
28+
with:
29+
python-version: ${{ matrix.python-versions }}
30+
31+
- name: Install uv
32+
uses: astral-sh/setup-uv@v5
33+
with:
34+
version: "0.6.13"
35+
36+
- name: Install Task
37+
uses: arduino/setup-task@v2
38+
with:
39+
version: 3.x
40+
repo-token: ${{ secrets.GITHUB_TOKEN }}
41+
42+
- name: Run lint
43+
run: task lint
44+
45+
- name: Run typecheck
46+
run: task typecheck
47+
48+
- name: Initialize Reflex
49+
run: uv run reflex init
50+
working-directory: github_button_demo
51+
52+
- name: Install playwright
53+
run: uv run playwright install chromium
54+
55+
- name: Run tests
56+
run: task test

custom_components/reflex_github_button/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from .github_button import LiteralButtonType, github_button
22

3-
__version__ = "0.1.3"
3+
__version__ = "0.1.4"
44

55
__all__ = [
66
"LiteralButtonType",

0 commit comments

Comments
 (0)