<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kurasher</author_name>
  <author_url>https://blog.hatena.ne.jp/kurasher/</author_url>
  <blog_title>とあるお兄さんの雑記</blog_title>
  <blog_url>https://kurasher.hatenablog.com/</blog_url>
  <categories>
    <anon>Git</anon>
    <anon>Git Hooks</anon>
  </categories>
  <description>コードを書く際、自身が作成した機能は皆さん必ずテストを書いていると思います。できるだけ品質を担保するためにもテストを回して全部通ってからgit pushした方がいいわけですが。 全てのテストを回す前にgit pushしちゃった!なんてことが度々ありまして。 というわけで、テスト回すことを忘れてgit pushしたときでも、自動的にテストが回るようにするGit Hooksを使ってみました。 環境 Git Hooksについて 設定 解説 figletについて pytest test その後の処理 まとめ 参考 環境 git version 2.30.0 conda 4.11.0 MacOS Mon…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkurasher.hatenablog.com%2Fentry%2F2022%2F06%2F18%2F000000&quot; title=&quot;Git Hooksの活用〜git pushする前に単体テストを実行する〜 - とあるお兄さんの雑記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-18 00:00:00</published>
  <title>Git Hooksの活用〜git pushする前に単体テストを実行する〜</title>
  <type>rich</type>
  <url>https://kurasher.hatenablog.com/entry/2022/06/18/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
