Repository navigation
81 lines (74 loc) · 1.92 KB
/
Copy pathci.yml
File metadata and controls
81 lines (74 loc) · 1.92 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.10"
enable-cache: true
- run: make sync
- run: make lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.10"
enable-cache: true
- run: make sync
- run: make test
test-pi-adapter:
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: plugins/data-designer-gym/examples/pi_sessions
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.14.4"
enable-cache: true
cache-dependency-glob: plugins/data-designer-gym/examples/pi_sessions/pyproject.toml
- run: make install
- run: make test
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.10"
enable-cache: true
- run: make sync
- run: make validate
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
python-version: "3.10"
enable-cache: true
- run: make sync
- run: make check
- name: Upload drift artifacts
if: failure()
uses: actions/upload-artifact@v4
with:
name: generated-metadata
path: |
docs/plugins/**
zensical.toml
catalog/plugins.json.new
.github/CODEOWNERS.new
if-no-files-found: ignore