V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ltoddy
V2EX  ›  Rust

rust 项目使用 circle-ci 构建持续集成,出现 no tests

  •  
  •   ltoddy · 2018-08-25 15:39:43 +08:00 · 2936 次点击
    这是一个创建于 2042 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最近配置了 circle ci, 然后去 build 的时候,一直说 no tests, 然后我本地 docker pull circleci/rust, 我本地 docker build 我的 rust 项目,一直不成功,然后换了 rust office 的镜像,是可以的.

    配置文件:

    defaults: &defaults
      docker:
        - image: circleci/rust
    
    
    version: 2
    jobs:
      test:
        <<: *defaults
        steps:
          - checkout
          - cargo check
          - cargo test
          - cargo build
          - cargo build --release
    
    workflows:
      version: 2
      test:
        jobs:
          - test
    

    第一次配置 circle ci,不怎么熟悉,求怎么解决 no tests 的问题.

    项目地址: https://github.com/ltoddy/parallel

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   979 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:26 · PVG 04:26 · LAX 13:26 · JFK 16:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.