mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Merge branch 'develop' into cs/msi-cont
# Conflicts: # .github/workflows/build.yml # Cargo.toml # src/lib-rust/Cargo.toml # src/lib-rust/src/lib.rs
This commit is contained in:
@@ -20,6 +20,26 @@ public class GithubDeploymentTests
|
||||
_output = output;
|
||||
}
|
||||
|
||||
[Fact(Skip = "Need to create a repo to test with")]
|
||||
public async Task TestUnauthenticatedDownload()
|
||||
{
|
||||
using var logger = _output.BuildLoggerFor<GithubDeploymentTests>();
|
||||
using var _1 = TempUtil.GetTempDirectory(out var releaseDir);
|
||||
|
||||
var repo = new GitHubRepository(logger);
|
||||
var options = new GitHubDownloadOptions {
|
||||
TargetOs = RuntimeOs.Linux,
|
||||
Channel = "linux-x64",
|
||||
ReleaseDir = new DirectoryInfo(releaseDir),
|
||||
Timeout = 60,
|
||||
Prerelease = false,
|
||||
RepoUrl = "TODO",
|
||||
Token = null,
|
||||
};
|
||||
|
||||
await repo.DownloadLatestFullPackageAsync(options);
|
||||
}
|
||||
|
||||
[SkippableFact]
|
||||
public void WillRefuseToUploadMultipleWithoutMergeArg()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user