Skip to content

chore: migrate package manager from Poetry to Rye #41

chore: migrate package manager from Poetry to Rye

chore: migrate package manager from Poetry to Rye #41

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]
poetry-version: [1.4.2]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Use Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | POETRY_HOME=$HOME/.poetry/ python
$HOME/.poetry/bin/poetry install
$HOME/.poetry/bin/poetry env use python${{ matrix.python-version }}
- name: Pytest
run: |
$HOME/.poetry/bin/poetry run pytest