mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-09-27 20:34:12 +02:00
parent
213a0ff177
commit
2cfffbd33d
1 changed files with 16 additions and 0 deletions
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
|
|
@ -13,6 +13,9 @@ jobs:
|
||||||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
|
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
|
||||||
numpy: [0, 1]
|
numpy: [0, 1]
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
include:
|
||||||
|
- os: ubuntu-latest
|
||||||
|
pysqlite3_sqlite_3_37: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
|
@ -32,6 +35,19 @@ jobs:
|
||||||
- name: Optionally install numpy
|
- name: Optionally install numpy
|
||||||
if: matrix.numpy == 1
|
if: matrix.numpy == 1
|
||||||
run: pip install numpy
|
run: pip install numpy
|
||||||
|
- name: Optionall install pysqlite3 with SQLite 3.37
|
||||||
|
if: matrix.pysqlite3_sqlite_3_37
|
||||||
|
run: |-
|
||||||
|
cd /tmp
|
||||||
|
mkdir sqlite-3.37
|
||||||
|
cd sqlite-3.37
|
||||||
|
wget 'https://www.sqlite.org/2021/sqlite-amalgamation-3370000.zip'
|
||||||
|
unzip sqlite-amalgamation-3370000.zip
|
||||||
|
git clone https://github.com/coleifer/pysqlite3/
|
||||||
|
cp sqlite-amalgamation-3370000/sqlite3.[ch] pysqlite3
|
||||||
|
cd pysqlite3
|
||||||
|
python setup.py build_static build bdist_wheel
|
||||||
|
pip install /tmp/sqlite-3.37/pysqlite3/dist/*.whl
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest -v
|
pytest -v
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue