fix(pytest): config option for asyncio #335
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Linting | |
"on": | |
push: | |
branches: | |
- main # Set a branch to deploy | |
pull_request: | |
jobs: | |
rff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Running ruff | |
run: | | |
python -m pip install --quiet --no-cache-dir --upgrade poetry | |
poetry install | |
poetry run ruff $(basename $(pwd)) | |
poetry run ruff tests |