Skip to content

Merge pull request #17 from hvalev/dependabot/github_actions/JRubics/… #61

Merge pull request #17 from hvalev/dependabot/github_actions/JRubics/…

Merge pull request #17 from hvalev/dependabot/github_actions/JRubics/… #61

Workflow file for this run

name: ci
on:
push:
paths-ignore:
- 'README.md'
branches:
- '**'
pull_request:
paths-ignore:
- 'README.md'
branches:
- '**'
jobs:
test:
name: Test with different Python versions
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pipx
run: |
sudo apt update
sudo apt install pipx
pipx ensurepath
sudo pipx ensurepath --global
- name: Install Poetry
run: |
pipx install poetry
- name: Install dependencies
run: |
poetry install
- name: Test with ruff
run: |
poetry run ruff check .
- name: Test with pytest
run: |
poetry run pytest .