Skip to content

Commit eed1bb1

Browse files
committed
Added CI
1 parent 6323345 commit eed1bb1

File tree

3 files changed

+75
-4
lines changed

3 files changed

+75
-4
lines changed

.github/workflows/ci.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Full CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- dev
7+
pull_request:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
pre_checks:
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 30
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Set up python
24+
id: setup-python
25+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
26+
with:
27+
python-version: "3.13"
28+
29+
- name: Set up Rye
30+
uses: eifinger/setup-rye@v4
31+
with:
32+
version: "latest"
33+
34+
- name: Install deps & build base images
35+
run: make setup
36+
37+
- name: Check format
38+
run: make check_format
39+
40+
- name: Check linting
41+
run: make check_linting
42+
43+
test:
44+
runs-on: ubuntu-latest
45+
timeout-minutes: 30
46+
strategy:
47+
fail-fast: false # Do not stop when any job fails
48+
matrix:
49+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
50+
steps:
51+
- name: Checkout code
52+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
53+
with:
54+
fetch-depth: 0
55+
56+
- name: Set up python
57+
id: setup-python
58+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
59+
with:
60+
python-version: "${{ matrix.python-version }}"
61+
62+
- name: Set up Rye
63+
uses: eifinger/setup-rye@v4
64+
with:
65+
version: "latest"
66+
67+
- name: Install deps & build base images
68+
run: make setup
69+
70+
- name: Run the tests
71+
run: make test

requirements-dev.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44
# last locked with the following flags:
55
# pre: false
6-
# features: ["local-embedding"]
7-
# all-features: false
6+
# features: []
7+
# all-features: true
88
# with-sources: false
99
# generate-hashes: false
1010
# universal: false

requirements.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#
44
# last locked with the following flags:
55
# pre: false
6-
# features: ["local-embedding"]
7-
# all-features: false
6+
# features: []
7+
# all-features: true
88
# with-sources: false
99
# generate-hashes: false
1010
# universal: false

0 commit comments

Comments
 (0)