Skip to content

Commit

Permalink
fix CI#201, steps with Makefile cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNorthMemory committed Aug 19, 2021
1 parent 7e93a4f commit 8b2858a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress

- run: composer phpstan
- run: vendor/bin/phpstan analyse --no-progress

- run: composer test
- run: |
make keygen
make x509crt
- run: vendor/bin/phpunit

- run: make clean
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# 变更历史

## 1.1.2 - 2021-08-19

- 优化`README``密钥``证书`等相关术语保持一致;
- 优化`UPGRADING`,增加从`php_sdk_v3.0.10`迁移指南;
- 优化测试用例,完整覆盖`PHP7.2/7.3/7.4/8.0 + Linux/macOS/Windows`运行时;
- 调整`composer.json`,去除`test`, `phpstan`命令,面向生产环境可用;

## 1.1.1 - 2021-08-13

[变更细节](../../compare/v1.1.0...V1.1.1)
Expand Down Expand Up @@ -77,7 +84,7 @@
[变更细节](../../compare/v1.0.1...v1.0.2)

- 优化了一些性能;
- 增加 `github actions` 覆盖 PHP7.2/7.3/7.4/8.0 + Linux/macOs/Windows环境;
- 增加 `github actions` 覆盖 PHP7.2/7.3/7.4/8.0 + Linux/macOS/Windows环境;
- 提升 `phpstan``level8` 最严谨级别,并修复大量遗留问题;
- 优化 `\WeChatPay\Exception\WeChatPayException` 异常类接口;
- 完善文档及平台证书下载器用法说明;
Expand Down
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
"bin/CertificateDownloader.php"
],
"scripts": {
"v3-certificates": "bin/CertificateDownloader.php",
"test": "vendor/bin/phpunit",
"phpstan": "vendor/bin/phpstan analyse --no-progress"
"v3-certificates": "bin/CertificateDownloader.php"
}
}

0 comments on commit 8b2858a

Please sign in to comment.