Skip to content

Refactor code for improved readability and consistency by removing un… #8

Refactor code for improved readability and consistency by removing un…

Refactor code for improved readability and consistency by removing un… #8

Workflow file for this run

name: CI
on:
push:
paths:
- "src/**"
- "*.py"
- "*.toml"
- "requirements.txt"
- ".github/workflows/**"
pull_request:
paths:
- "src/**"
- "*.py"
- "*.toml"
- "requirements.txt"
- ".github/workflows/**"
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- name: Install Dependencies
run: pip install -e .
- name: Run ruff
run: poetry run ruff check
test:
needs: ruff
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- name: Install Dependencies
run: pip install -e .
- name: Run Tests
run: poetry run pytest tests