Skip to content

Commit

Permalink
Merge pull request #385 from buffer/mongo-tests
Browse files Browse the repository at this point in the history
MongoDB update and tests
  • Loading branch information
buffer authored Nov 8, 2024
2 parents 2df6c22 + f45aaec commit 228739f
Show file tree
Hide file tree
Showing 4 changed files with 293 additions and 136 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,14 @@ jobs:
with:
elasticsearch version: '8.8.0'

- name: STEP 9. Test Thug
- name: STEP 9. Setup MongoDB
uses: DigiPie/mongo-action@v2.0.1

- name: STEP 10. Test Thug
run: |
tox
- name: STEP 10. Upload coverage report to Codecov
- name: STEP 11. Upload coverage report to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies = [
"pillow==11.0.0",
"promise==2.3",
"pylibemu==1.0",
"pymongo==4.8.0",
"pymongo==4.10.1",
"pysocks==1.7.1",
"python-magic==0.4.27",
"rarfile==4.2",
Expand Down Expand Up @@ -96,7 +96,6 @@ documentation = [
test = [
"thug[elasticsearch,exploitgraph,image,shellcode]",
"mock",
"mongomock",
"pydantic>=2.9.2",
"pre-commit",
"pytest",
Expand Down
Loading

0 comments on commit 228739f

Please sign in to comment.