2

Windows の Python プロジェクトで codecov を使用していますが、カバレッジ レポートを codecove サーバーにアップロードしようとすると、次のエラーが発生します。

ファイル名、ディレクトリ名、またはボリューム ラベルの構文が正しくありません。

D:\foo>codecov -t ***

      _____          _
     / ____|        | |
    | |     ___   __| | ___  ___ _____   __
    | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
    | |___| (_) | (_| |  __/ (_| (_) \ V /
     \_____\___/ \____|\___|\___\___/ \_/
                                    v2.0.15

[90m==>[0m Detecting CI provider
  -> Got branch from git/hg
  -> Got sha from git/hg
[90m==>[0m Preparing upload
The filename, directory name, or volume label syntax is incorrect.
    Error running `cd 'D:\foo' && git ls-files`: None
[41mError:[0m[91m Missing repository upload token[0m

[42mTip:[0m[32m See all example repositories: https://github.com/codecov?query=example[0m
[92mSupport channels:[0m
  Email:   hello@codecov.io
  IRC:     #codecov
  Gitter:  https://gitter.im/codecov/support
  Twitter: @codecov

でも

codecovフォーム WSL (Linux) を (同じレポから、同じレポートで)実行すると、すべて問題ありません。


アップデート

codecov 2.0.10 は正常にアップロードできます。2.0.11 以降では、ファイル名、ディレクトリ名、またはボリューム ラベルの構文が正しくありません。エラー。

4

1 に答える 1