Skip to content

Commit

Permalink
Coverage debug (#7)
Browse files Browse the repository at this point in the history
* Remove tests/__init__.py to try to fix coverage issue

* Find coverage issue

* Update the coverage badge
  • Loading branch information
Iain-S authored Apr 13, 2023
1 parent 3207477 commit a244660
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ['3.7', '3.8', '3.9', '3.10']
python_version: ['3.7', '3.8', '3.9', '3.11']
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand All @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python_version: ['3.11']
python_version: ['3.10']
steps:
- name: Checkout Code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NHS Number Generator

[![Coverage Status](https://coveralls.io/repos/github/Iain-S/nhs_number_generator/badge.svg?branch=master)](https://coveralls.io/github/Iain-S/nhs_number_generator?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/Iain-S/nhs_number_generator/badge.svg)](https://coveralls.io/github/Iain-S/nhs_number_generator)

Generate and validate NHS numbers in Python 2.7+ and 3.6+.

Expand Down Expand Up @@ -80,7 +80,7 @@ print(unique_numbers)
```

`deterministic_nhs_number_generator` will generate all 189,818,183 valid NHS numbers by default.
Alternatively, we can provide a more limited range or pick the first N numbers:
Alternatively, we can pick only as many numbers as we need or provide a more limited range:

```python
from nhs_number_generator.generate_nhs_numbers import deterministic_nhs_number_generator
Expand Down
Empty file removed tests/__init__.py
Empty file.

0 comments on commit a244660

Please sign in to comment.