File tree 3 files changed +32
-1
lines changed
3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change
1
+ on : " push"
2
+
1
3
jobs :
2
4
build :
3
5
runs-on : " ubuntu-latest"
@@ -103,4 +105,3 @@ jobs:
103
105
repository-url : " https://test.pypi.org/legacy/"
104
106
skip-existing : true
105
107
verbose : true
106
- on : " push"
Original file line number Diff line number Diff line change
1
+ name : tag
2
+ on :
3
+ push :
4
+ tags :
5
+ - ' v[0-9]+.[0-9]+.[0-9]+'
6
+
7
+ jobs :
8
+ pypi :
9
+ environment :
10
+ name : " test.pypi.org"
11
+ url : " https://test.pypi.org/project/lbster"
12
+ needs :
13
+ - " build"
14
+ permissions :
15
+ id-token : " write"
16
+ runs-on : " ubuntu-latest"
17
+ steps :
18
+ - uses : " actions/download-artifact@v4"
19
+ with :
20
+ name : " python-package-distributions"
21
+ path : " dist/"
22
+ - uses : " pypa/gh-action-pypi-publish@release/v1"
23
+ with :
24
+ user : __token__
25
+ password : ${{ secrets.TEST_PYPI_API_TOKEN }}
26
+ repository-url : " https://test.pypi.org/legacy/"
27
+ skip-existing : true
28
+ verbose : true
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ def structure_featurizer(scope="session"):
28
28
29
29
@pytest .fixture
30
30
def model (max_length , scope = "session" ):
31
+ if os .getenv ("CI" ):
32
+ pytest .skip ("large download" )
31
33
return LobsterPLMFold (model_name = "esmfold_v1" , max_length = max_length )
32
34
33
35
You can’t perform that action at this time.
0 commit comments