Commit graph

13 commits

Author SHA1 Message Date
rhysd
083b14b51a add a test for private repositories 2018-01-20 00:34:50 +09:00
rhysd
a8d7262d70 add tests for GitHub Enterprise more
These tests require GHE environment.
Please set following environment variables:

- $GITHUB_ENTERPRISE_TOKEN
- $GITHUB_ENTERPRISE_BASE_URL
- $GITHUB_ENTERPRISE_REPO
2018-01-19 19:49:45 +09:00
rhysd
89582ba9d1 add more test cases to check invalid GitHub Enterprise base URL 2018-01-19 18:43:29 +09:00
rhysd
6b4eeadeb7 download an asset via GitHub Releases API by default 2018-01-19 13:30:23 +09:00
rhysd
fd492d6b01 create Updater struct to use persistent GitHub API client also for downloading assets 2018-01-19 11:35:24 +09:00
rhysd
cee0f07401 fix tests for symlinks 2018-01-04 00:26:01 +09:00
rhysd
ec5a2a1955 enable tests for symlinks on AppVeyor
because root privilege is available on AppVeyor
2018-01-03 23:29:31 +09:00
rhysd
1064397350 fix tests which used a not-existing path 2018-01-03 23:13:23 +09:00
rhysd
3a2ffd274f consider the case where executable is symlink 2018-01-03 23:01:33 +09:00
rhysd
8817d5390d add a test case to check file names of releases can contain version (fix #5) 2018-01-03 19:06:33 +09:00
rhysd
0a9c0f7987 add tests for .tar.xz and .xz releases 2017-12-31 13:35:22 +09:00
rhysd
cf74f35eed consider .exe is added to executable on Windows 2017-12-30 13:41:34 +09:00
rhysd
79d641a2f6 add tests for downloading and updating binary 2017-12-30 12:21:23 +09:00