From 45619e0c8325fad08f0cbd74034e5161a16b1b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Porte=C5=A1?= Date: Tue, 18 Apr 2023 17:21:07 +0200 Subject: [PATCH] Skip unnecessary `pip install` commands in the pythonpackage.yml workflow (#1021) Remove redundant commands in CI workflow All checks in pythonpackage.yml are run by tox. Manual installation of requirements is unnecessary here, as tox will install and run everything in separate virtual environments. --- .github/workflows/pythonpackage.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index baafa4969..f92f46cb1 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -18,8 +18,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r test-requirements.txt pip install tox - name: Run tox run: tox run -e format @@ -41,8 +39,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r test-requirements.txt pip install tox - name: Run tox run: tox run -e pep8 @@ -66,8 +62,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r test-requirements.txt pip install tox - name: Run tox run: tox run -e py${{ matrix.python-version[1] }}