Skip to content

Commit

Permalink
Refactor (#47)
Browse files Browse the repository at this point in the history
* Added SQLite that will contain all tables except the primary_data.
* Completely removed the actions table.
* Added tests for no db validation
* Moved the database specific modules in a folder named databases.
* Session on the sqlite autocommits.
  • Loading branch information
KFilippopolitis authored Jun 26, 2024
1 parent 76bc74e commit a808d34
Show file tree
Hide file tree
Showing 22 changed files with 2,317 additions and 3,221 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@ jobs:
run: poetry install --no-interaction

- name: Run tests
run: |
poetry run coverage run -m pytest
poetry run coverage xml
run: poetry run pytest --cov=mipdb --cov-report=html

- name: Upload Coverage to Codecov
uses: codecov/[email protected]
with:
fail_ci_if_error: true
verbose: true
- name: Upload coverage to Codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: |
bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN
Loading

0 comments on commit a808d34

Please sign in to comment.