From 8c35d4c6853f18577d9f707442cf03e49f560834 Mon Sep 17 00:00:00 2001 From: Francesco Ballarin Date: Thu, 2 Nov 2023 06:44:05 +0100 Subject: [PATCH] Remove installation of build requirements from workflows, since they are already installed in the underlying docker images --- .github/workflows/ccpp.yml | 4 ---- .github/workflows/oneapi.yml | 2 -- .github/workflows/redhat.yml | 1 - 3 files changed, 7 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index df484fee592..a4993a15a36 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -86,7 +86,6 @@ jobs: python3 -m isort --check . - name: mypy checks run: | - python3 -m pip install mypy types-setuptools --upgrade # TO REMOVE cd python/ mypy dolfinx mypy demo @@ -118,7 +117,6 @@ jobs: - name: Build C++ interface documentation run: | - python3 -m pip install breathe # TO REMOVE export DOLFINX_VERSION=`cmake -L build | grep DOXYGEN_DOLFINX_VERSION | cut -f2 -d "="` echo $DOLFINX_VERSION cd cpp/doc @@ -147,11 +145,9 @@ jobs: - name: Build Python interface run: | - python3 -m pip install -r python/build-requirements.txt # TO REMOVE python3 -m pip -v install --check-build-dependencies --no-build-isolation python/ - name: Build Python interface documentation run: | - python3 -m pip install sphinx==5.0.2 # TO REMOVE cd python/doc make html diff --git a/.github/workflows/oneapi.yml b/.github/workflows/oneapi.yml index 772c27cb99e..6d5bf9d5f25 100644 --- a/.github/workflows/oneapi.yml +++ b/.github/workflows/oneapi.yml @@ -87,7 +87,6 @@ jobs: - name: Build DOLFINx Python interface run: | . /opt/intel/oneapi/setvars.sh - pip -v install -r python/build-requirements.txt # TO REMOVE pip -v install --check-build-dependencies --no-build-isolation python/ - name: Set default DOLFINx JIT options run: | @@ -96,7 +95,6 @@ jobs: - name: Run DOLFINx demos (Python, serial) run: | . /opt/intel/oneapi/setvars.sh - pip install matplotlib # TO REMOVE pytest -v -n=2 -m serial --durations=10 python/demo/test.py - name: Run DOLFINx demos (Python, MPI (np=2)) run: | diff --git a/.github/workflows/redhat.yml b/.github/workflows/redhat.yml index 7561bc4c4e2..a137922bd32 100644 --- a/.github/workflows/redhat.yml +++ b/.github/workflows/redhat.yml @@ -64,7 +64,6 @@ jobs: - name: Build Python interface run: | - python3 -m pip -v install -r python/build-requirements.txt # TO REMOVE python3 -m pip -v install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type=Debug python/ - name: Set default DOLFINx JIT options