Skip to content

ci: run pytest and ruff on pull requests #2

ci: run pytest and ruff on pull requests

ci: run pytest and ruff on pull requests #2

Workflow file for this run

name: Python application
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install poetry
poetry install
poetry run pip install pytest
- name: Test with pytest
run: |
poetry run pytest