Skip to content

Feature/add file history query #15

Feature/add file history query

Feature/add file history query #15

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
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: Install uv
uses: astral-sh/setup-uv@v6
with:
# Install a specific version of uv.
version: "0.7.20"
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync --locked --all-groups
- name: Run tests
run: uv run pytest tests --junitxml=results/junit.xml
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: pytest-report
path: results/junit.xml