mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 03:32:33 +08:00
test: 自动上传覆盖率
This commit is contained in:
parent
41cbe91870
commit
b31c34905a
9
.github/workflows/test-pr.yml
vendored
9
.github/workflows/test-pr.yml
vendored
|
@ -70,4 +70,11 @@ jobs:
|
|||
- name: Run test
|
||||
run: |
|
||||
cd qcg-tester
|
||||
python main.py
|
||||
python main.py
|
||||
|
||||
- name: Upload coverage reports to Codecov
|
||||
run: |
|
||||
cd qcg-tester/resource/QChatGPT
|
||||
curl -Os https://uploader.codecov.io/latest/linux/codecov
|
||||
chmod +x codecov
|
||||
./codecov -t ${{ secrets.CODECOV_TOKEN }}
|
Loading…
Reference in New Issue
Block a user