Fix testing
This commit is contained in:
parent
c36b306101
commit
3d3636ac2f
1 changed files with 3 additions and 3 deletions
6
.github/workflows/pythonpackage.yml
vendored
6
.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 unittest &&
|
||||
PYTHONPATH=.:$PYTHONPATH python tests/ &&
|
||||
mv sqlcipher3_ sqlcipher3
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
|
@ -151,7 +151,7 @@ jobs:
|
|||
path: ./src/sqlcipher
|
||||
|
||||
- name: Build wheels for ${{ matrix.os }} ${{ matrix.cibw_archs }} ${{ matrix.cibw_build }}
|
||||
uses: pypa/cibuildwheel@v2.18.1
|
||||
uses: pypa/cibuildwheel@v2.22.0
|
||||
env:
|
||||
CIBW_BUILD_FRONTEND: build
|
||||
CIBW_BUILD: ${{ matrix.cibw_build }}
|
||||
|
|
@ -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 -s {project} &&
|
||||
PYTHONPATH=.:$PYTHONPATH python tests/
|
||||
mv {project}/sqlcipher3_ {project}/sqlcipher3
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue