No need to set PYTHONPATH before testing
This commit is contained in:
parent
e088d82dc5
commit
074384e304
2 changed files with 4 additions and 4 deletions
5
.github/workflows/pythonpackage.yml
vendored
5
.github/workflows/pythonpackage.yml
vendored
|
|
@ -51,7 +51,6 @@ jobs:
|
|||
run: |
|
||||
python -m pip install dist/sqlcipher3_wheels-*.tar.gz
|
||||
mv sqlcipher3 sqlcipher3_ &&
|
||||
PYTHONPATH=.:$PYTHONPATH python tests/ &&
|
||||
mv sqlcipher3_ sqlcipher3
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
|
@ -160,9 +159,7 @@ jobs:
|
|||
CIBW_BUILD_FRONTEND: build
|
||||
CIBW_BUILD: ${{ matrix.cibw_build }}
|
||||
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
||||
CIBW_ENVIRONMENT: >
|
||||
SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
||||
PYTHONPATH={project}:$PYTHONPATH
|
||||
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
||||
CIBW_TEST_COMMAND: >
|
||||
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
||||
python {project}/tests/ &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue