MetOffice / MetOffice/CMEW

Add running the unittests to the GitHub workflow

Open
#165 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

good first issue quality assurance testing
Dominant language
Python
Stars
5
Forks
3
Avg merge
5d 6h
Merged PRs (30d)
8

Description

Following #157, running the unittests should be added to the GitHub workflow so that it runs on push for all PRs.

It may be worth configuring `pytest` so that it can be run from the GitHub workflow and via `-O unittest` without needing to change directories, see [pytest documentation: Configuration: pyproject.toml](https://docs.pytest.org/en/stable/reference/customize.html#pyproject-toml) and [pytest documentation: API Reference: testpaths](https://docs.pytest.org/en/stable/reference/reference.html#confval-testpaths).

**Details**

- Estimate: small, suitable for solo mission.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.