Linting and fix build
This commit is contained in:
parent
3ad1b108a4
commit
50ba3498e9
2 changed files with 63 additions and 91 deletions
28
.github/workflows/pythonpackage.yml
vendored
28
.github/workflows/pythonpackage.yml
vendored
|
|
@ -21,34 +21,6 @@ jobs:
|
|||
sqlcipher/sqlite3.c
|
||||
sqlcipher/sqlite3.h
|
||||
|
||||
tests:
|
||||
needs: [prepare-sqlite]
|
||||
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
|
||||
os: [ubuntu-20.04, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: false
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: sqlite-amalgamation
|
||||
path: ./src/sqlcipher
|
||||
- name: Build module
|
||||
run: |
|
||||
python setup.py build_ext -i
|
||||
- name: Run tests
|
||||
run: |
|
||||
python -m test
|
||||
|
||||
build-wheels:
|
||||
needs: [prepare-sqlite, tests]
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue