浏览代码

ci: fix Codecov token in unit tests

tags/v0.8.0
父节点
当前提交
7c6e949627
找不到此签名对应的密钥 GPG 密钥 ID: 72F9D1A7272D53DD
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      .github/workflows/unit-tests.yml

+ 3
- 1
.github/workflows/unit-tests.yml 查看文件

@@ -17,6 +17,8 @@ jobs:
pip install --upgrade pip pipenv
pipenv sync -d
- name: Unit tests
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
pipenv run python -m coverage run -m unittest test
pipenv run codecov --token=${{ secrets.CODECOV_TOKEN }}
pipenv run codecov --token=$CODECOV_TOKEN

正在加载...
取消
保存