Skip to content

Commit e02c8f3

Browse files
authored
Fixes for new matrix option, refs #347
1 parent 2cfffbd commit e02c8f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ jobs:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
include:
1717
- os: ubuntu-latest
18-
pysqlite3_sqlite_3_37: true
18+
python-version: "3.10"
19+
numpy: 0
20+
pysqlite3_sqlite_3_37: 1
1921
steps:
2022
- uses: actions/checkout@v2
2123
- name: Set up Python ${{ matrix.python-version }}
@@ -36,7 +38,7 @@ jobs:
3638
if: matrix.numpy == 1
3739
run: pip install numpy
3840
- name: Optionall install pysqlite3 with SQLite 3.37
39-
if: matrix.pysqlite3_sqlite_3_37
41+
if: matrix.pysqlite3_sqlite_3_37 == 1
4042
run: |-
4143
cd /tmp
4244
mkdir sqlite-3.37
@@ -46,6 +48,7 @@ jobs:
4648
git clone https://github.com/coleifer/pysqlite3/
4749
cp sqlite-amalgamation-3370000/sqlite3.[ch] pysqlite3
4850
cd pysqlite3
51+
pip install wheel
4952
python setup.py build_static build bdist_wheel
5053
pip install /tmp/sqlite-3.37/pysqlite3/dist/*.whl
5154
- name: Run tests

0 commit comments

Comments
 (0)