mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-19 05:56:18 +00:00
Fixing CI/CD failing
This commit is contained in:
parent
3816df1241
commit
948d01d57a
3 changed files with 6 additions and 3 deletions
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
|
|
@ -41,7 +41,10 @@ jobs:
|
|||
run: python -c "import sqlmap; import sqlmapapi"
|
||||
|
||||
- name: Unit tests
|
||||
run: python -m unittest discover -s tests -p "test_*.py"
|
||||
# -B: do not write .pyc files. On Python 2 / PyPy a cached .pyc makes a module's __file__
|
||||
# point at the .pyc, which would make the later --smoke getFileType(__file__) doctest see
|
||||
# 'binary' instead of 'text'. Keeping this step byte-compile-free leaves --smoke clean.
|
||||
run: python -B -m unittest discover -s tests -p "test_*.py"
|
||||
|
||||
- name: Smoke test
|
||||
run: python sqlmap.py --smoke
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue