Skip to content

Commit

Permalink
ci: fix rye installation
Browse files Browse the repository at this point in the history
  • Loading branch information
juba committed May 24, 2024
1 parent 9596507 commit 356958b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
cache: "pip"

- name: Install rye
run: curl -sSf https://rye.astral.sh/get | bash
run: |
curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
rye sync
- name: Bundle
run: npm run bundle
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,17 @@ jobs:
npm ci
npm ci --workspaces
- name: Install rye
run: curl -sSf https://rye.astral.sh/get | bash

- name: Install Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Install rye
run: |
curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
rye sync
- name: Run pytest
run: rye run test

Expand Down

0 comments on commit 356958b

Please sign in to comment.