chore(deps): update registry.access.redhat.com/ubi9/ubi docker tag to v9.5-1734495538 #1013
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Python Checks for Pull Requests | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
python: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install OS packages | |
# libkrb5-dev is required for gssapi dependency installation (krb5-config command) | |
run: | | |
sudo apt-get -y update | |
sudo apt-get install -y libkrb5-dev | |
- name: Check out repo | |
uses: actions/checkout@v4 | |
- name: Black Lint | |
uses: psf/black@stable | |
- name: Setup python environment for flake8 check | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" # Same as in Dockerfile | |
- name: flake8 Lint | |
uses: py-actions/flake8@v2 | |
- name: Run pytest | |
run: | | |
python -m pip install -r requirements.txt | |
pytest |