Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
updating ci
  • Loading branch information
weinbe58 committed Jul 16, 2025
commit bdade4793f1ce13cc803ed4736d9a76ee05e93c1
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install the project
run: uv sync --all-extras --dev
run: uv sync --all-extras --dev --index="https://${{ secrets.JFROG_USER}}:${{ secrets.JFROG_TOKEN }}@quera.jfrog.io/artifactory/api/pypi/kirin/simple/" --index="https://${{ secrets.JFROG_USER}}:${{ secrets.JFROG_TOKEN }}@quera.jfrog.io/artifactory/api/pypi/quera-pypi-algo/simple/"
- name: Run tests
# For example, using `pytest`
run: uv run just coverage
# - name: Upload Coverage to Codecov
# uses: codecov/codecov-action@v4
# with:
# files: coverage.xml # optional
# fail_ci_if_error: true # optional (default = false)
# verbose: true # optional (default = false)
# token: ${{ secrets.CODECOV_TOKEN }} # required
# - name: Archive code coverage results
# if: matrix.python-version == '3.12'
# uses: actions/upload-artifact@v4
# with:
# name: code-coverage-report
# path: coverage.xml
# retention-days: 2
# - name: Upload Coverage to Codecov
# uses: codecov/codecov-action@v4
# with:
# files: coverage.xml # optional
# fail_ci_if_error: true # optional (default = false)
# verbose: true # optional (default = false)
# token: ${{ secrets.CODECOV_TOKEN }} # required
# - name: Archive code coverage results
# if: matrix.python-version == '3.12'
# uses: actions/upload-artifact@v4
# with:
# name: code-coverage-report
# path: coverage.xml
# retention-days: 2
# post:
# runs-on: ubuntu-latest
# needs: build
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/isort.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ concurrency:
cancel-in-progress: true

jobs:
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: isort/isort-action@v1
with:
sortPaths: "src" # only sort files in the src directory
ruff:
runs-on: ubuntu-latest
steps:
Expand All @@ -19,3 +26,20 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
pyright:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
# Install a specific version of uv.
version: "0.6.14"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Install the project
run: uv sync --all-extras --dev --index="https://${{ secrets.JFROG_USER}}:${{ secrets.JFROG_TOKEN }}@quera.jfrog.io/artifactory/api/pypi/kirin/simple/" --index="https://${{ secrets.JFROG_USER}}:${{ secrets.JFROG_TOKEN }}@quera.jfrog.io/artifactory/api/pypi/quera-pypi-algo/simple/"
- run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
- uses: jakebailey/pyright-action@v2
with:
pylance-version: latest-release
Loading