Skip to content

refactor!: unify local and hosted into a single deployment flow #972

refactor!: unify local and hosted into a single deployment flow

refactor!: unify local and hosted into a single deployment flow #972

Workflow file for this run

name: Tests
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
cache: "pip"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Lint with ruff
run: |
ruff check src/ tests/
ruff format --check src/ tests/
- name: Type check with ty
run: ty check src/
- name: Run tests with coverage
run: pytest --cov=authsome --cov-report=xml --cov-report=term -p no:xdist
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
fail_ci_if_error: false