diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 0b62c5c..f98b8ae 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -5,8 +5,6 @@ on: [push, pull_request] permissions: contents: read - - jobs: test: runs-on: ubuntu-latest @@ -35,3 +33,21 @@ jobs: run: configlock init project_info.yaml - name: check locked file run: configlock lock project_info.yaml + + - name: linting + run: uvx ruff check . + - name: formatting + run: uvx ruff format --check . + - name: type_consitency + run: uv run pyright . + - name: complexity check + run: uvx radon cc -s -a . + - name: tests + run: uv run pytest -v --durations=0 --cov --cov-report=xml + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + + - name: build + run: uv build diff --git a/docs/index.html b/docs/index.html index 12da1d1..7cdcea7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,17 +7,18 @@