yashinomi / sysdev2020_advanced

0 stars 0 forks source link

Class 6. (後半) Exercise 1. log #30

Open yashinomi opened 3 years ago

yashinomi commented 3 years ago

CircleCIをつかったossを探そう

yashinomi commented 3 years ago

github .circleci/config.yml検索。 circleci のドキュメントばかり出る

yashinomi commented 3 years ago

site:github.com .circleci/config.yml検索。 いくつかヒット。

yashinomi commented 3 years ago

optunaというossを例にとりあげる。 https://github.com/optuna/optuna/blob/master/.circleci/config.yml

yashinomi commented 3 years ago

複数のdockerイメージを使っていた。 いくつか例示する。

yashinomi commented 3 years ago

案の定様々なテストを実行している。 pythonによるテストを抜粋する。

 - run: &tests
          name: tests
          command: |
            . venv/bin/activate
            pytest --cov=optuna tests
          environment:
            OMP_NUM_THREADS: 1