From ed9fb9ab1e794e11a8238f8f40484c9620db94d6 Mon Sep 17 00:00:00 2001 From: George Bisbas Date: Thu, 30 Mar 2023 14:19:38 +0100 Subject: [PATCH] tests: Fix github workflows --- .github/workflows/examples-mpi.yml | 2 +- .github/workflows/examples.yml | 2 +- .github/workflows/pytest-aws.yaml | 2 +- .github/workflows/pytest-core-nompi.yml | 2 +- .github/workflows/tutorials.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/examples-mpi.yml b/.github/workflows/examples-mpi.yml index 48c76c4240..6c46297580 100644 --- a/.github/workflows/examples-mpi.yml +++ b/.github/workflows/examples-mpi.yml @@ -43,7 +43,7 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip - pip install -e .[extras,mpi] + pip install -e .[extras,mpi,tests] - name: Test mpi notebooks run : | diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 28ecfcf378..a885f6f55d 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -42,7 +42,7 @@ jobs: - name: Install dependencies run: | - pip install -e . + pip install -e .[tests] pip install matplotlib - name: Tests in examples diff --git a/.github/workflows/pytest-aws.yaml b/.github/workflows/pytest-aws.yaml index 15992b6837..f57b83fef9 100644 --- a/.github/workflows/pytest-aws.yaml +++ b/.github/workflows/pytest-aws.yaml @@ -66,7 +66,7 @@ jobs: if: "!contains(matrix.name, 'docker')" run: | pip3 install --upgrade pip - pip3 install -U -e . + pip3 install -U -e .[tests] pip3 install pytest-xdist - name: Test with pytest diff --git a/.github/workflows/pytest-core-nompi.yml b/.github/workflows/pytest-core-nompi.yml index c5e431ffc0..5f5d3b0f37 100644 --- a/.github/workflows/pytest-core-nompi.yml +++ b/.github/workflows/pytest-core-nompi.yml @@ -153,7 +153,7 @@ jobs: if: "!contains(matrix.name, 'docker')" run: | pip install --upgrade pip - pip install -e . + pip install -e .[tests] pip install sympy==${{matrix.sympy}} - name: Test with pytest diff --git a/.github/workflows/tutorials.yml b/.github/workflows/tutorials.yml index 526a0899cf..32c4e1b65b 100644 --- a/.github/workflows/tutorials.yml +++ b/.github/workflows/tutorials.yml @@ -85,7 +85,7 @@ jobs: if: matrix.name != 'tutos-docker-gcc-py37' run: | python -m pip install --upgrade pip - pip install -e . + pip install -e .[tests] pip install matplotlib blosc - name: Seismic notebooks