test: 自动上传覆盖率

This commit is contained in:
RockChinQ 2023-12-28 16:14:54 +08:00
parent 41cbe91870
commit b31c34905a

View File

@ -71,3 +71,10 @@ jobs:
run: |
cd qcg-tester
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 }}