-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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="[email protected]" 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 | ||
|