Skip to content

build(deps): bump click from 8.3.3 to 8.4.1 (#39) #505

build(deps): bump click from 8.3.3 to 8.4.1 (#39)

build(deps): bump click from 8.3.3 to 8.4.1 (#39) #505

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install ruff
run: pip install -q ruff
- name: Ruff check
run: ruff check app/
- name: Ruff format check
run: ruff format --check app/
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Audit dependencies
run: pip install -q pip-audit && pip-audit -r requirements.txt
test:
runs-on: ubuntu-latest
needs: [lint, security]
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
cache: 'pip'
- name: Install dependencies
run: pip install -q -r requirements.txt
- name: Run tests
env:
CONTRASTAPI_DB: /tmp/ci_api.db
CONTRASTAPI_CVE_DB: /tmp/ci_cve.db
CONTRASTAPI_CACHE_DB: /tmp/ci_cache.db
run: cd app && python -m pytest tests/ -v --tb=short