Skip to content

Commit

Permalink
Merge pull request #14 from naviqore/feature/NAV-185-code-metrics
Browse files Browse the repository at this point in the history
ORG: NAV-185 - Add pytest coverage
  • Loading branch information
clukas1 authored Sep 22, 2024
2 parents 30c0e26 + 40fd471 commit 28e05d4
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 3 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ Once the services are up and running, execute the integration tests with:
poetry run pytest -m integration
```

### Coverage

To analyze the test coverage run:

```sh
poetry run pytest --cov=public_transit_client
```

## License

This project is licensed under the MIT License - see
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.8'

services:
public-transit-service:
image: ghcr.io/naviqore/public-transit-service:v0.5.0
image: ghcr.io/naviqore/public-transit-service:v0.5.1
container_name: public-transit-service
ports:
- "8080:8080"
Expand Down
106 changes: 104 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ mypy = "^1.11.1"
black = "^24.8.0"
isort = "^5.13.2"
types-requests = "^2.32.0.20240712"
pytest-cov = "^5.0.0"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 28e05d4

Please sign in to comment.