Skip to content

moving ci to correct dir #1

moving ci to correct dir

moving ci to correct dir #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.13" ]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install project (with dev deps)
run: |
uv sync --all-extras --dev
- name: Run tests with coverage
run: |
uv run pytest --cov=solshade --cov-report=xml --cov-report=term-missing
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos, but recommended
files: ./coverage.xml
fail_ci_if_error: true