File size: 714 Bytes
93fae96
 
 
 
 
 
7448df4
 
 
 
93fae96
7448df4
 
 
 
93fae96
 
26f1cb9
972df9c
26f1cb9
 
 
93fae96
 
97bebcc
93fae96
0f68b6e
2393ed2
 
974e6f9
7f27bac
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
30
31
32
name: test
on:
  workflow_dispatch:
  push:
    branches:
      - master
    paths:
      - "src/**"
      - "tests/**"
      - ".github/workflows/test.yaml"
  pull_request:
    paths:
      - "src/**"
      - "tests/**"
      - ".github/workflows/test.yaml"
jobs:
  pytest:
    strategy:
      fail-fast: false # Continue running jobs even if one fails
      matrix:
        os: [ubuntu-latest, macos-latest]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4
      - uses: astral-sh/setup-uv@v5
        with:
          version: "0.4.11"
          enable-cache: true
      - run: uv python install 3.12
      - run: uv sync --all-extras
      - run: uv run pytest -m "not requires_openai"