File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 6
6
branches : [master, "release/*"]
7
7
release :
8
8
types : [published]
9
+ pull_request : # this shall test only the part of workflow before publishing
10
+ branches : [master, "release/*"]
11
+ types : [opened, reopened, ready_for_review, synchronize]
12
+ paths :
13
+ - ' .github/actions/pkg-publish/*'
14
+ - " .github/workflows/_legacy-checkpoints.yml.yml"
15
+ - " .github/workflows/_build-packages.yml"
16
+ - " .github/workflows/release-pypi.yml"
9
17
10
18
defaults :
11
19
run :
12
20
shell : bash
13
21
22
+ env :
23
+ FREEZE_REQUIREMENTS : 1
24
+ TORCH_URL : " https://download.pytorch.org/whl/cpu/torch_stable.html"
25
+
14
26
jobs :
15
27
16
28
build-packages :
@@ -44,12 +56,12 @@ jobs:
44
56
steps :
45
57
- uses : actions/checkout@v3
46
58
- name : install Package
47
- env :
48
- PACKAGE_NAME : " lightning "
49
- run : pip install . -f https://download.pytorch.org/whl/cpu/torch_stable.html
59
+ run : |
60
+ pip install . -f ${TORCH_URL}
61
+ pip list
50
62
- name : package Version
51
63
id : lai-package
52
- run : python -c "import lightning as L ; print(f'version={L .__version__}')" >> $GITHUB_OUTPUT
64
+ run : python -c "import lightning ; print(f'version={lightning .__version__}')" >> $GITHUB_OUTPUT
53
65
54
66
55
67
signaling :
You can’t perform that action at this time.
0 commit comments