Skip to content

tests: Address Copilot review on PR #100. #159

tests: Address Copilot review on PR #100.

tests: Address Copilot review on PR #100. #159

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: "🔎 Python Linter"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: "⏳ Checkout repository"
uses: actions/checkout@v3
- name: "🐍 Set up Python"
uses: actions/setup-python@v4
with:
cache: "pip"
python-version: "3.10"
- name: "🛠 Install dependencies"
run: |
pip install -r .github/workflows/requirements.txt
ruff --version
pytest --version
- name: "😾 Lint with ruff"
run: ruff check