Skip to content

Commit

Permalink
Fix Debian 12 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jul 22, 2024
1 parent 8c0ee28 commit c8a2547
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/gate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,19 @@ 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: Create Virtual Environment (due to PEP 668 / Externally Managed Python Installations)
run: python3 -m venv venv
- name: Activate Virtual Environment
run: |
. venv/bin/activate
echo "PATH=$PATH" >> $GITHUB_ENV
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Upgrade pip python
run: pip3 install --upgrade pip
- 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
- name: Build
env:
ADDITIONAL_CMAKE_OPTIONS: "-DSSG_ANSIBLE_PLAYBOOKS_PER_RULE_ENABLED=ON -DSSG_OVAL_SCHEMATRON_VALIDATION_ENABLED=OFF"
Expand Down

0 comments on commit c8a2547

Please sign in to comment.