fix(KFLUXBUGS-1848): associate existing images with a new repository #882
Workflow file for this run
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 |