diff --git a/.github/workflows/gate.yaml b/.github/workflows/gate.yaml index 259bb14ec5e..97f996c72da 100644 --- a/.github/workflows/gate.yaml +++ b/.github/workflows/gate.yaml @@ -67,13 +67,13 @@ jobs: - name: Update the package repository run: apt-get update - name: Install Deps - run: apt-get install -y ansible-lint bats check cmake openscap-scanner openscap-utils libxml2-utils ninja-build python3-github python3-pip xsltproc libxslt1-dev libxml2-dev zlib1g-dev + run: apt-get install -y ansible-lint bats check cmake openscap-scanner openscap-utils libxml2-utils ninja-build python3-pip xsltproc libxslt1-dev libxml2-dev zlib1g-dev python3.11-venv - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - name: Upgrade pip python - run: pip3 install --upgrade pip + run: pip install --upgrade pip --break-system-packages - name: Install deps python - run: pip3 install -r requirements.txt -r test-requirements.txt --ignore-installed PyYAML + run: pip3 install -r requirements.txt -r test-requirements.txt --ignore-installed PyYAML PyGithub --break-system-packages - name: Build env: ADDITIONAL_CMAKE_OPTIONS: "-DSSG_ANSIBLE_PLAYBOOKS_PER_RULE_ENABLED=ON -DSSG_OVAL_SCHEMATRON_VALIDATION_ENABLED=OFF"