Skip to content

fix(docker): include package directory in image #10

fix(docker): include package directory in image

fix(docker): include package directory in image #10

Workflow file for this run

name: Tests & Coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
name: Pytest With Coverage
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Run tests with coverage
env:
TELEGRAM_API_ID: "12345"
TELEGRAM_API_HASH: "dummy_hash"
TELEGRAM_SESSION_NAME: "test_session"
run: uv run pytest --cov --cov-report=term-missing --cov-report=xml
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-xml
path: coverage.xml