File tree Expand file tree Collapse file tree 3 files changed +86
-1
lines changed
Expand file tree Collapse file tree 3 files changed +86
-1
lines changed Original file line number Diff line number Diff line change 1+ name : publish
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+
10+ build :
11+ name : build framelib dist
12+ needs : test
13+
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : check out git repository
18+ uses : actions/checkout@v4
19+
20+ - name : setup python
21+ uses : actions/setup-python@v5
22+ with :
23+ python-version : ' 3.x'
24+
25+ - name : install python dependencies
26+ run : pip install build
27+
28+ - name : build binary wheel and source tarball
29+ run : python3 -m build
30+
31+ - name : store the dist package
32+ uses : actions/upload-artifact@v4
33+ with :
34+ name : distribution
35+ path : dist/
36+
37+
38+ publish :
39+ name : publish framelib to pypi
40+ needs : build
41+
42+ runs-on : ubuntu-latest
43+ env :
44+ name : release
45+ url : https://pypi.org/p/framelib
46+ permissions :
47+ id-token : write
48+
49+ steps :
50+ - name : get dist package
51+ uses : actions/download-artifact@v4
52+ with :
53+ name : distribution
54+ path : dist/
55+
56+ - name : publish package to pypi
57+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+
9+ test :
10+ name : run framelib unit tests
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : check out git repository
15+ uses : actions/checkout@v4
16+
17+ - name : setup conda env
18+ uses : conda-incubator/setup-miniconda@v2
19+ with :
20+ activate-environment : framelib
21+ environment-file : environment.yml
22+ auto-activate-base : false
23+
24+ - name : pytest
25+ shell : bash -l {0}
26+ env :
27+ NEYNAR_KEY : ${{ secrets.NEYNAR_KEY }}
28+ run : pytest -s -v ./test
Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = 'framelib' ,
8- version = '0.0.5 ' ,
8+ version = '0.0.6 ' ,
99 author = 'Devin A. Conley' ,
10101111 description = 'lightweight library for building farcaster frames using python and flask' ,
You can’t perform that action at this time.
0 commit comments