Skip to content

Commit

Permalink
Merge pull request #724
Browse files Browse the repository at this point in the history
v4.0.1

Fix #723
  • Loading branch information
MatteoCampinoti94 authored Sep 11, 2024
2 parents 003fecc + 8cea3fa commit 0488815
Show file tree
Hide file tree
Showing 5 changed files with 317 additions and 202 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,24 @@ jobs:
acacore_package="${acacore_package%\"}"
test "$acacore_remote" = "$acacore_package"
version-database:
name: Test database version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test database version
run: |
acacore_database="$(sqlite3 tests/files/_metadata/files.db "select value from Metadata where key = 'version'")"
acacore_package="$(grep 'acacore =' pyproject.toml | grep -oE 'tag[ ]*=[ ]*"[^"]+"')"
acacore_package="${acacore_package#*\"}"
acacore_package="${acacore_package#v}"
acacore_package="${acacore_package%\"}"
test "$acacore_database" = "$acacore_package"
pytest:
name: pytest
needs: version-database
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion digiarch/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.0.0"
__version__ = "4.0.1"
Loading

0 comments on commit 0488815

Please sign in to comment.