File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 27
27
test_script : self-updating-app --no-update
28
28
29
29
task :
30
+ name : Test Install from GitHub and Check Version
31
+ # Only run for Releases
32
+ only_if : $CIRRUS_RELEASE != ""
33
+ << : *INSTALL_GIT_SCRIPT
34
+ << : *PIP_CACHE
35
+ install_script : python scripts/ci/install_latest_from_github.py $CIRRUS_REPO_CLONE_URL $CIRRUS_TAG
36
+
37
+ task :
38
+ # Test without cloning the repo first
30
39
name : Test Install from GitHub
31
40
# Only run for Releases and Pull Requests
32
41
only_if : $CIRRUS_RELEASE != "" || $CIRRUS_PR != ""
42
+ # Override clone script to be empty
43
+ clone_script : echo "noop"
33
44
<< : *INSTALL_GIT_SCRIPT
34
- << : *PIP_CACHE
35
- install_script : python scripts/ci/install_latest_from_github.py $CIRRUS_REPO_CLONE_URL $CIRRUS_TAG
45
+ install_script : pip install git+${CIRRUS_REPO_CLONE_URL}@${CIRRUS_CHANGE_IN_REPO}
46
+ run_script : self-updating-app --version
Original file line number Diff line number Diff line change 11
11
12
12
from app .config import github_api_url
13
13
14
- INFO = VersionInfo ('app ' ).semantic_version ()
14
+ INFO = VersionInfo ('self_updating_app ' ).semantic_version ()
15
15
__version__ = INFO .release_string ()
16
16
__version_info__ = INFO .version_tuple ()
17
17
You can’t perform that action at this time.
0 commit comments