kaizendorks/pymongo_inmemory

Update testing GitHub Action to check for differences in poetry.lock

開放

#26 建立於 2020年5月31日

 (0 則留言) (0 個反應) (0 位負責人)Python (18 個分叉)auto 404
good first issuetesting

倉庫指標

星標
 (53 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

It is easy to forget to update poetry.lock file after changing something in the pyproject.toml file. There should be a step in testing workflow that

  1. Gets a hash of the lock file right after the checkout and saves into an environment variable
  2. Runs poetry update
  3. Gets the hash again and compares with the previous hash
  4. If results are different, then breaks the workflow.

Acceptance Criteria

  • Steps to verify correctness of poetry.lock file is added to testing GitHub Action

貢獻者指南