Skip to content

馃摑 docs: add README and improve examples documentation #9

馃摑 docs: add README and improve examples documentation

馃摑 docs: add README and improve examples documentation #9

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12.7'
- name: Install dependencies
run: |
pip install hatch
pip install -e packages/deepfreeze-core[dev]
pip install -e packages/deepfreeze-cli[dev]
- name: Run linting
run: |
cd packages/deepfreeze-core && ruff check deepfreeze_core/
cd ../deepfreeze-cli && ruff check deepfreeze/
- name: Run tests
run: |
pytest tests/ -v --cov=deepfreeze_core --cov=deepfreeze --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml