summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJules Chéron <jules.cheron@gmail.com>2021-03-22 20:18:43 +0100
committerJules Chéron <jules.cheron@gmail.com>2021-03-22 20:25:06 +0100
commitb7de6f2aa5d9b20abf66261a4964edd643f47504 (patch)
treefd60214463ac3b03d1e0e7518977e793f8bf5679 /.github
parentdd63fbdeea553d539afc2302851c67ca66738523 (diff)
downloadpint-b7de6f2aa5d9b20abf66261a4964edd643f47504.tar.gz
install pytest-mpl only when matplotlib in extras
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml7
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: |