Skip to content

feat: add security headers and Trivy scan to deploy workflows #3

feat: add security headers and Trivy scan to deploy workflows

feat: add security headers and Trivy scan to deploy workflows #3

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
- name: Run tests
run: |
pip install -r requirements.txt
pip install pytest
if python -m pytest --collect-only -q >/dev/null 2>&1; then
pytest --tb=short
else
echo "No tests found, skipping"
fi