diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 548c02a0c55b..29b7d83c7cb3 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -59,10 +59,9 @@ jobs: - name: install system requirements run: | sudo apt-get update && \ - sudo apt remove 'python-*' -y && \ sudo apt-get install --yes \ build-essential git language-pack-en libmysqlclient-dev libssl-dev libxml2-dev \ - libxmlsec1-dev libxslt1-dev lynx xvfb pkg-config python3-pip python3-dev python3-venv && \ + libxmlsec1-dev libxslt1-dev lynx xvfb pkg-config python3-dev python3-venv && \ sudo rm -rf /var/lib/apt/lists/* - name: install mongo version @@ -89,6 +88,9 @@ jobs: - name: install requirements run: | + sudo apt-get remove python3-blinker python3-commandnotfound python3-entrypoints \ + python3-parted python3-pexpect python3-pyasn1-modules python3-simplejson \ + python3-systemd ufw -y sudo make test-requirements if [[ "${{ matrix.django-version }}" != "pinned" ]]; then sudo pip install "django~=${{ matrix.django-version }}.0" diff --git a/.github/workflows/verify-gha-unit-tests-count.yml b/.github/workflows/verify-gha-unit-tests-count.yml index 8145d0b509e2..fd5c93d611b7 100644 --- a/.github/workflows/verify-gha-unit-tests-count.yml +++ b/.github/workflows/verify-gha-unit-tests-count.yml @@ -14,10 +14,9 @@ jobs: - name: install system requirements run: | sudo apt-get update && \ - sudo apt remove 'python-*' -y && \ sudo apt-get install --yes \ build-essential git language-pack-en libmysqlclient-dev libssl-dev libxml2-dev \ - libxmlsec1-dev libxslt1-dev lynx xvfb pkg-config python3-pip python3-dev python3-venv && \ + libxmlsec1-dev libxslt1-dev lynx xvfb pkg-config python3-dev python3-venv && \ sudo rm -rf /var/lib/apt/lists/* - name: Setup Python @@ -28,6 +27,9 @@ jobs: - uses: actions/checkout@v2 - name: install requirements run: | + sudo apt-get remove python3-blinker python3-commandnotfound python3-entrypoints \ + python3-parted python3-pexpect python3-pyasn1-modules python3-simplejson \ + python3-systemd ufw -y sudo make test-requirements - name: verify unit tests count