Skip to content

Add rye as a package manager. #20

Add rye as a package manager.

Add rye as a package manager. #20

Workflow file for this run

name: "Code Coverage"
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11.3" ]
steps:
- uses: actions/checkout@v4
- uses: eifinger/setup-rye@v3
id: setup-rye
with:
cache-prefix: ${{ matrix.python-version }}
- name: Pin python-version ${{ matrix.python-version }}
run: rye pin ${{ matrix.python-version }}
- name: Install dependencies
run: rye sync --no-lock
- name: Lint
run: rye lint -a
- name: Test
run: rye run pytest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./htmlcov/index.html