summaryrefslogtreecommitdiff
path: root/.github/workflows/python-pr-validation.yml
blob: 26838a43b897093a83fc95b22e5f28f37a25f0e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Python Pull Request Validation Workflow

on:
    pull_request:
        branches: [ "main", "master" ]

jobs:
  Validation:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Set up Python 3.12
        uses: actions/setup-python@v2
        with:
          python-version: "3.13"
          architecture: "x64"

      - name: Install dependencies
        run: |
          python3 -m pip install --upgrade pip
          pip install uv
          uv venv
          uv pip install -e .[dev]

      - name: Python Run Tests
        run: |
          pytest -v