25 Commits

Author SHA1 Message Date
Hsiao-nan Cheung 5c896e901f refactor(decompress): Use 7zip to extract Zstd archive (#5973) 2024-05-17 09:56:14 +08:00
Hsiao-nan Cheung ea6c73880a tests(bucket): Use BuildHelpers EnvVars (#5226) 2022-10-28 15:20:36 +08:00
Hsiao-nan Cheung 1630e5f908 tests(pester): Update to Pester 5 (#5222) 2022-10-28 13:14:29 +08:00
Hsiao-nan Cheung 7dcb7c0030 fix(tests): Fix tests in Linux and macOS (#5179) 2022-10-15 23:12:52 +08:00
Hsiao-nan Cheung 1985a05b59 refactor(path): Use 'Convert-Path()' instead of 'Resolve-Path()' (#5109) 2022-08-22 15:12:46 +08:00
Hsiao-nan Cheung 765d3aad7e build(ci): Use cache in GitHub Actions (#4671) 2022-03-02 11:48:54 +08:00
Chawye Hsu d9f55a3a0a refactor(ci,tests): Support both AppVeyor and GitHub Actions (#4655) 2022-01-14 19:40:35 +08:00
Hsiao-nan Cheung d7fb97f517 test(zstd): Fix 'zstd' extraction error in test (#4651) 2022-01-13 16:32:18 +08:00
Hsiao-nan Cheung c864f68c0b test(manifest): Fix manifests validation (#4620) 2022-01-07 13:33:05 +08:00
Hsiao-nan Cheung 5d8aeb54bb test(test-bin): Only write output file in CI and fix trailing whitespaces (#4613) 2021-12-31 02:14:53 +08:00
Hsiao-nan Cheung d5cb86078b fix(decompress): Fix nested Zstd archive extraction (#4608) 2021-12-31 01:04:47 +08:00
Hsiao-nan Cheung 271d41b949 style(test): Format scripts by VSCode's PowerShell extension (#4609) 2021-12-30 09:37:40 +08:00
Hsiao-nan Cheung 47ebc6f176 fix(test): Use 32bit version of zstd 2021-11-10 16:42:57 +08:00
worldyun af7a6f6d0e feat(decompress): Support Zstandard archive (#4372)
Co-authored-by: WorldYun <worldyun@qq.com>
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2021-11-10 09:40:11 +08:00
Jakub Čábera 6df80c1aee fix(tests): Force pester v4 (#4040) 2020-07-01 10:23:44 +02:00
Jakub Čábera f52b339523 feat(tests): Do not force maintainers to have SCOOP_HELPERS (#3604) 2019-08-21 17:17:26 +02:00
Richard Kuhnt 8beffc4329 Sync renaming changes to develop 2019-05-06 18:19:57 +02:00
Richard Kuhnt f63219fd1d decompress(tests): Improve installation of lessmsi and innounp (#3409) 2019-04-28 19:00:02 +02:00
Hsiao-nan Cheung 72730e0d73 decompress.ps1: Refactor extraction handling functions (#3204)
* Refactored functions:
  * requires_7zip > Test-7ZipRequirement
  * requires_lessmsi > Test-LessMSIRequirement
  * extract_7zip > Expand-7ZipArchive
  * extract_msi/extract_lessmsi > Expand-MSIArchive
  * unpack_inno > Expand-InnoArchive
  * extract_zip/unzip_old > Expand-ZipArchive
* Fix 7zip failed when .tar and .tgz have diff names
* Add tools to CI
* Add test cases for Expand-7ZipArchive
* Add test cases for Expand-InnoArchive
* Add test cases for Expand-MSIArchive
* Add config `7ZIPEXTRACT_USE_EXTERNAL`
* Change '$recurse' to '$removal'
2019-04-26 18:35:59 +02:00
Richard Kuhnt 53e73f5211 appveyor: Remove trailing comma from params
Regression from f857dce9f5
2018-12-16 14:51:52 +01:00
Richard Kuhnt f857dce9f5 appveyor: Add -TestPath param to test.ps1 2018-12-16 14:49:53 +01:00
Richard Kuhnt 7a1b5a1840 appveyor: Force install PSScriptAnalyzer and BuildHelpers 2018-12-16 14:13:16 +01:00
Richard Kuhnt dde4d0f93f appveyor: Update BuildHelpers to version 2.0.1 2018-12-16 14:11:36 +01:00
Richard Kuhnt ac3ee76672 appveyor: require BuildHelpers version 2.0.0 2018-09-18 18:47:42 +02:00
Richard Kuhnt c0295f0ae0 appveyor: Run tests for PowerShell 5 and 6 (#2603)
- Adds `!linter` commit flag to skip PSScriptAnalyzer
- Adds `!manifests` commit flag to skip manifest validation
- Skips manifest validation if no JSON has changed
- Skips tests and linting if no PowerShell script has changed
- Validates only manifests that changed
- Validates all manifests if `schema.json` changed
2018-09-18 18:37:43 +02:00