Skip to content

Commit

Permalink
Merge pull request #61
Browse files Browse the repository at this point in the history
v4.0.0
  • Loading branch information
MatteoCampinoti94 authored Nov 28, 2024
2 parents f0166c9 + fc624ad commit 73329b4
Show file tree
Hide file tree
Showing 32 changed files with 2,269 additions and 2,708 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
poetry-version: ${{ env.POETRY_VERSION }}
- run: poetry install
- name: ruff check
run: poetry run ruff check acacore
run: poetry run ruff check
- name: ruff format
run: poetry run ruff format --check acacore
run: poetry run ruff format --check

version:
name: Test Version
Expand All @@ -41,7 +41,6 @@ jobs:
version_package="${version_package%\"}"
version_package="${version_package#*\"}"
test "$version_project" = "$version_package"
echo $?
pytest:
name: pytest
Expand All @@ -60,9 +59,9 @@ jobs:
- uses: actions/setup-go@v5
- run: poetry install
- run: go install github.com/richardlehane/siegfried/cmd/sf@latest
- name: Unit test
- name: pytest
env:
GOPATH: /home/runner/go
run: |
poetry run coverage run -m pytest
poetry run coverage report -m --fail-under=80 --skip-empty --skip-covered
run: poetry run coverage run -m pytest
- name: coverage
run: poetry run coverage report -m --fail-under=80 --skip-empty --skip-covered
1 change: 1 addition & 0 deletions acacore/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from . import database
from . import exceptions
from . import models
from . import reference_files
from . import siegfried
from . import utils
2 changes: 1 addition & 1 deletion acacore/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.3.3"
__version__ = "4.0.0"
7 changes: 1 addition & 6 deletions acacore/database/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
from . import upgrade
from .base import Column
from .base import model_to_columns
from .base import SelectColumn
from .base import Table
from .files_db import FileDB
from .files_db import FilesDB
Loading

0 comments on commit 73329b4

Please sign in to comment.