瀏覽代碼

ci: fix Codecov token in unit tests

tags/v0.8.0
Jérôme Deuchnord 4 年之前
父節點
當前提交
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

Loading…
取消
儲存