Skip to content

Create python-app.yml #6

Create python-app.yml

Create python-app.yml #6

Workflow file for this run

name: Check
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
env:
POETRY_VIRTUALENVS_CREATE: false
- name: Test the code pytest
run: |
pytest . -s -v
- name: Analysing the code with Ruff
run: |
pip install ruff
ruff .