Skip to content

fix(RELEASE-1345): avoid failing on invalid purl string #1002

fix(RELEASE-1345): avoid failing on invalid purl string

fix(RELEASE-1345): avoid failing on invalid purl string #1002

Workflow file for this run

---
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