Skip to content

Commit

Permalink
Add one check job for updates on automation/requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Odilhao committed Aug 2, 2024
1 parent 6254432 commit e4c49bd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/requirement-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
jobs:
rpm_list:
name: 'Check Package to Update'
needs: check_resolution
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'dependabot')
steps:
Expand Down Expand Up @@ -59,3 +60,19 @@ jobs:
fi
done < $PACKAGE_TO_UPDATE
check_resolution:
name: Check Package Installation
runs-on: ubuntu-latest
container:
image: quay.io/centos/centos:stream9
steps:
- uses: actions/checkout@v4

- name: Install dnf-plugins-core
run: dnf install 'dnf-command(config-manager)' -y && dnf config-manager --set-enabled crb

- name: Install Required Packages
run: dnf install -y gobject-introspection-devel cairo-devel gcc make cmake python3.11-devel python3.11-wheel python3.11-pip

- name: Install Pulp using requirements.txt
run: pip3.11 install -r $PACKAGE_TO_UPDATE

0 comments on commit e4c49bd

Please sign in to comment.