Skip to content

Commit e870908

Browse files
authored
Code Coverage & Bug Fixes (#17)
1 parent ff9e745 commit e870908

15 files changed

Lines changed: 1738 additions & 300 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
uses: MAK-Relic-Tool/Workflows/.github/workflows/continuous-integration.yml@main
3333
with:
3434
package: relic.core
35-
runners: '["ubuntu-latest"]' # Should only need to test against python version, not platform
35+
# runners: ["ubuntu-latest"] We have to run all runners, we do pathing checks, *sigh*
3636
test-path: ./tests

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ __pycache__/
44

55
# Ignore Pycharm
66
.idea/
7-
# Ignore pycharm coverage cache
7+
# Ignore coverage cache
88
.coverage
99

1010
#Ignore pytest
@@ -25,3 +25,4 @@ docs/source/generated/**
2525

2626
# Ignore local builds
2727
build/**
28+
.coverage

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ repos:
1818
rev: 24.1.1
1919
hooks:
2020
- id: black
21-
- repo: https://github.com/pre-commit/mirrors-mypy
22-
rev: v1.8.0
23-
hooks:
24-
- id: mypy
25-
args: [--explicit-package-bases, --namespace-packages]
21+
#- repo: https://github.com/pre-commit/mirrors-mypy
22+
# rev: v1.8.0
23+
# hooks:
24+
# - id: mypy
25+
# args: [--explicit-package-bases, --namespace-packages]
2626

2727
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
2828
rev: v2.12.0

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Include required modules
22
-r requirements.txt
33
black>=22.6.0
4+
coverage>=7.7.1
45
mypy>=0.961
56
pylint>=2.14.4
67
pytest>=7.1.2

0 commit comments

Comments
 (0)