Fix wheel testing
This commit is contained in:
parent
fda9696a91
commit
361cefef93
1 changed files with 6 additions and 7 deletions
13
.github/workflows/pythonpackage.yml
vendored
13
.github/workflows/pythonpackage.yml
vendored
|
|
@ -50,9 +50,9 @@ jobs:
|
||||||
- name: Test sdist
|
- name: Test sdist
|
||||||
run: |
|
run: |
|
||||||
python -m pip install dist/sqlcipher3-wheels-*.tar.gz
|
python -m pip install dist/sqlcipher3-wheels-*.tar.gz
|
||||||
mv sqlcipher3 sqlcipher3_
|
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
||||||
python -m test
|
python -m unittest discover -t {project} -s test -p *.py &&
|
||||||
mv sqlcipher3_ sqlcipher3
|
mv {project}/sqlcipher3_ {project}/sqlcipher3
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -158,10 +158,9 @@ jobs:
|
||||||
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
||||||
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
||||||
CIBW_TEST_COMMAND: >
|
CIBW_TEST_COMMAND: >
|
||||||
cd {project} &&
|
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
||||||
mv sqlcipher3 sqlcipher3_ &&
|
python -m unittest discover -t {project} -s test -p *.py &&
|
||||||
python -m test &&
|
mv {project}/sqlcipher3_ {project}/sqlcipher3
|
||||||
mv sqlcipher3_ sqlcipher3
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue