Fix testing
This commit is contained in:
parent
6ffbe31c43
commit
44b9ffbfa0
10 changed files with 10 additions and 10 deletions
4
.github/workflows/pythonpackage.yml
vendored
4
.github/workflows/pythonpackage.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
run: |
|
||||
python -m pip install dist/sqlcipher3-wheels-*.tar.gz
|
||||
mv sqlcipher3 sqlcipher3_ &&
|
||||
python -m test &&
|
||||
python -m unittest &&
|
||||
mv sqlcipher3_ sqlcipher3
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
|
@ -159,7 +159,7 @@ jobs:
|
|||
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
||||
CIBW_TEST_COMMAND: >
|
||||
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
||||
python -m unittest discover -t {project} -s test -p *.py &&
|
||||
python -m unittest discover -s {project} &&
|
||||
mv {project}/sqlcipher3_ {project}/sqlcipher3
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
|
|
@ -2,14 +2,14 @@ import optparse
|
|||
import sys
|
||||
import unittest
|
||||
|
||||
from test.backup import suite as backup_suite
|
||||
from test.dbapi import suite as dbapi_suite
|
||||
from test.factory import suite as factory_suite
|
||||
from test.hooks import suite as hooks_suite
|
||||
from test.regression import suite as regression_suite
|
||||
from test.transactions import suite as transactions_suite
|
||||
from test.ttypes import suite as types_suite
|
||||
from test.userfunctions import suite as userfunctions_suite
|
||||
from test.test_backup import suite as backup_suite
|
||||
from test.test_dbapi import suite as dbapi_suite
|
||||
from test.test_factory import suite as factory_suite
|
||||
from test.test_hooks import suite as hooks_suite
|
||||
from test.test_regression import suite as regression_suite
|
||||
from test.test_transactions import suite as transactions_suite
|
||||
from test.test_ttypes import suite as types_suite
|
||||
from test.test_userfunctions import suite as userfunctions_suite
|
||||
|
||||
|
||||
def test(verbosity=1, failfast=False):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue