forked from NVIDIA/cutile-python
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (31 loc) · 883 Bytes
/
ci.yml
File metadata and controls
39 lines (31 loc) · 883 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
34
35
36
37
38
39
# SPDX-FileCopyrightText: Copyright (c) <2025> NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: ghcr.io/nvidia/cutile-python/lint:2025-12-06-4cb7d16e4c20
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Run flake8
run: flake8
- name: Run cpplint
run: python3 ci/cpplint.py
- name: Check license headers (REUSE)
run: ci/scripts/check_license.sh
- name: Check inline samples are up to date
run: python3 test/tools/inline_samples.py --check