forked from openvinotoolkit/openvino_notebooks
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1009 Bytes
/
treon_precommit.yml
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
name: treon
on:
workflow_dispatch:
pull_request:
branches:
- 'main'
- 'latest'
paths:
- 'notebooks/**.ipynb'
- 'notebooks/**.py'
- 'requirements.txt'
- '.ci/*'
- '.github/workflows/*.yml'
- '.github/workflows/.env'
push:
branches:
- 'main'
- 'latest'
paths:
- 'notebooks/**.ipynb'
- 'notebooks/**.py'
- 'requirements.txt'
- '.ci/*'
- '.github/workflows/*.yml'
- '.github/workflows/.env'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build_treon:
strategy:
fail-fast: true
matrix:
runs_on: [ubuntu-20.04, windows-2019, macos-12]
python: ['3.8', '3.9', '3.10', '3.11']
uses: ./.github/workflows/build_treon_reusable.yml
with:
runs_on: ${{ matrix.runs_on }}
python: ${{ matrix.python }}
test_only_changed: true