Skip to content

Commit

Permalink
Also test without python-isal
Browse files Browse the repository at this point in the history
  • Loading branch information
rhpvorderman committed Oct 18, 2023
1 parent 49ff56c commit 51afbd4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,15 @@ jobs:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9"]
optional-deps: [true]
with-python-isal: [true]
include:
- os: macos-latest
python-version: "3.10"
optional-deps: true
with-python-isal: false
- os: ubuntu-20.04
python-version: "3.10"
with-python-isal: false
optional-deps: false
- os: ubuntu-20.04
python-version: "3.10"
Expand Down Expand Up @@ -70,6 +73,10 @@ jobs:
run: python -m pip install tox
- name: Test
run: tox -e py
if: matrix.with-python-isal
- name: Test without python-isal
run: tox -e no-isal
if: !matrix.with-python-isal
- name: Test with zstandard
if: matrix.with-zstandard
run: tox -e zstd
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ deps =
{[testenv]deps}
zstandard

[testenv:no-isal]
commands=
pip uninstall -y isal
{[testenv]commands}

[testenv:black]
basepython = python3.10
deps = black==22.3.0
Expand Down

0 comments on commit 51afbd4

Please sign in to comment.