-
Notifications
You must be signed in to change notification settings - Fork 3
66 lines (64 loc) · 1.63 KB
/
ci.yml
File metadata and controls
66 lines (64 loc) · 1.63 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# SPDX-FileCopyrightText: 2025 Knitli Inc.
# SPDX-FileContributor: Adam Poulemanos <adam@knit.li>
#
# SPDX-License-Identifier: MIT OR Apache-2.0
name: CI
permissions:
contents: read
on:
push:
branches:
- main
- staging
paths:
- src/**
- tests/**
- pyproject.toml
- uv.lock
- '**/mise.*.toml'
- '**/mise.toml'
- .github/workflows/ci.yml
- .github/workflows/_reusable-*.yml
- .github/actions/**
pull_request:
branches:
- main
- staging
paths:
- src/**
- tests/**
- pyproject.toml
- uv.lock
- mise.toml
- mise.ci.toml
- .github/workflows/ci.yml
- .github/workflows/_reusable-*.yml
- .github/actions/**
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
uses: ./.github/workflows/_reusable-test.yml
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODEWEAVER_VECTOR_STORE_URL: ${{ secrets.CODEWEAVER_VECTOR_STORE_URL }}
QDRANT__SERVICE__API_KEY: ${{ secrets.QDRANT__SERVICE__API_KEY }}
VOYAGE_API_KEY: ${{ secrets.VOYAGE_API_KEY }}
with:
test-markers: "not docker and not qdrant and not dev_only and not skip_ci and not network and not external_api and not flaky and not real_providers"
upload-coverage: true
run-quality-checks: true
lint:
name: Lint
uses: ./.github/workflows/_reusable-lint.yml
secrets: inherit
build:
name: Build
needs:
- test
- lint
uses: ./.github/workflows/_reusable-build.yml
# Build doesn't need secrets.