Skip to content

chore: migrate package manager from Poetry to Rye #45

chore: migrate package manager from Poetry to Rye

chore: migrate package manager from Poetry to Rye #45

Workflow file for this run

name: A workflow to run test
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Rye
run: |
curl -sSf https://rye.astral.sh/get | RYE_INSTALL_OPTION="--yes" bash
ENV RYE_HOME="/opt/rye"
ENV PATH="$RYE_HOME/shims:$PATH"
source $HOME/.rye/env
rye sync
- name: Pytest
run: |
rye run pytest