Skip to content

Commit

Permalink
static-checks CI requirements installation fix
Browse files Browse the repository at this point in the history
The installation of test requirements fails because of missing gcc and
python-devel requirements inside Fedora container. This adds a step with
requirements installation into the CI.

Reference:
https://github.com/avocado-framework/avocado/actions/runs/7058447317/job/19214040853?pr=5815#step:6:160
Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja committed Dec 1, 2023
1 parent ef617f4 commit 5a08f3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- name: Allow git to operate on directory checked out by GH Actions
run: git config --global --add safe.directory `pwd`
- name: Installing gcc and python-devel
run: |
yum install -y gcc python3-devel
export PATH=/github/home/.local/bin:$PATH
- name: Installing Avocado development dependencies
run: make requirements-dev
- name: Installing Avocado in develop mode
Expand Down

0 comments on commit 5a08f3c

Please sign in to comment.