yrarchi / household_accounts

レシートのデータ化
19 stars 8 forks source link

GitHub Actions に追加したci.ymlの動きの確認 #36

Closed yrarchi closed 2 years ago

yrarchi commented 2 years ago

GitHub Actions のci.ymlが意図通り動くか確認する

yrarchi commented 2 years ago

0dcd373 でわざと引っかかる内容に変更したのを検知してCIが落ちたことを確認した

Skipping .ipynb files as Jupyter dependencies are not installed.
You can fix this by running ``pip install black[jupyter]``
would reformat household_accounts/get_file_path_list.py

Oh no! 💥 💔 💥
1 file would be reformatted, 12 files would be left unchanged.
Error: Process completed with exit code 1.
yrarchi commented 2 years ago

わざと引っかかる内容に変更したのをrevertしてCIが通ることを確認した

Run poetry run black --check .
Skipping .ipynb files as Jupyter dependencies are not installed.
You can fix this by running ``pip install black[jupyter]``
All done! ✨ 🍰 ✨
13 files would be left unchanged.
yrarchi commented 2 years ago

理解のため、各工程の間に下記の出力を挟んでみた

- name: Check values
  run: |
    echo $GITHUB_PATH
    echo $GITHUB_WORKSPACE
    pwd
    ls -a
image

GITHUB_PATHは都度変化している