diff options
author | Jules Chéron <jules.cheron@gmail.com> | 2021-03-22 20:18:43 +0100 |
---|---|---|
committer | Jules Chéron <jules.cheron@gmail.com> | 2021-03-22 20:25:06 +0100 |
commit | b7de6f2aa5d9b20abf66261a4964edd643f47504 (patch) | |
tree | fd60214463ac3b03d1e0e7518977e793f8bf5679 /.github | |
parent | dd63fbdeea553d539afc2302851c67ca66738523 (diff) | |
download | pint-b7de6f2aa5d9b20abf66261a4964edd643f47504.tar.gz |
install pytest-mpl only when matplotlib in extras
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33494f8..fa663c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,12 @@ jobs: - name: Install dependencies run: | sudo apt install -y graphviz - pip install .[test] + pip install pytest pytest-cov pytest-subtests + pip install . + + - name: Install pytest-mpl + if: contains(matrix.extras, 'matplotlib') + run: pip install pytest-mpl - name: Run Tests run: | |