diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1d59d48..b1c2ae7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -45,18 +45,20 @@ jobs: with: python-version: ${{ matrix.python-version }} - # FIX: rye in ci - # - name: Setup Rye - # run: pip install rye + - name: Setup Rye + run: curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" RYE_TOOLCHAIN="3.11" bash + + - name: Apply shims + run: echo 'source "$HOME/.rye/env"' >> ~/.bashrc - name: Install dependencies - run: pip install --no-cache-dir -r requirements-dev.lock + run: rye sync - name: Apply migrations - run: alembic upgrade head + run: rye tun migrate - name: Run check - run: ruff check + run: rye run lint # - name: Upload coverage to Codecov # uses: codecov/codecov-action@v3