kaizendorks/pymongo_inmemory

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

Ouverte

#26 ouverte le 31 mai 2020

 (0 commentaire) (0 réaction) (0 personne assignée)Python (18 forks)auto 404
good first issuetesting

Métriques du dépôt

Stars
 (53 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur