Skip to content

debugging authentication #216

debugging authentication

debugging authentication #216

Workflow file for this run

name: CI and Deploy
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
schedule:
- cron: "0 3 * * *"
jobs:
test:
runs-on: ubuntu-latest
env:
PYTHONUNBUFFERED: "1"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- run: python -m pip install --upgrade pip
- run: pip install -r requirements.txt -r requirements-dev.txt
- name: Run unit tests (non-integration)
run: |
mkdir -p test-results
pytest -q -m "not integration" --junitxml=test-results/pytest.xml --cov=app --cov-report=xml --cov-report=term | tee test-results/pytest.log
- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: test-results
- name: Upload coverage
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage.xml