forked from AmadeusITGroup/docs2vecs
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 715 Bytes
/
ci.yml
File metadata and controls
34 lines (29 loc) · 715 Bytes
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
33
name: Build and test
on: [push, pull_request, workflow_dispatch]
jobs:
test:
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- name: 'test'
python: '3.11'
os: 'ubuntu-latest'
steps:
- uses: actions/checkout@v5
with:
fetch-tags: true
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.6.3"
- name: Setup Python
run: uv python install ${{ matrix.python }}
- name: Install the project
run: uv sync --all-extras --dev
- name: Unit tests
run: uv run pytest tests