Skip to content

Commit

Permalink
improve ci
Browse files Browse the repository at this point in the history
  • Loading branch information
emp7yhead committed Aug 18, 2024
1 parent 2038926 commit 292aaf6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 292aaf6

Please sign in to comment.