forked from openvinotoolkit/openvino_notebooks
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 936 Bytes
/
pip_conflicts_check.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
name: pip_conflicts_check
on:
workflow_dispatch:
pull_request:
branches:
- 'main'
- 'develop'
paths:
- 'notebooks/**.ipynb'
push:
branches:
- 'main'
paths:
- 'notebooks/**.ipynb'
jobs:
build_pip_conflicts_check:
runs-on: ubuntu-20.04 # change cachepip step when changing this
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Dotenv Action
id: dotenv
uses: xom9ikk/[email protected]
with:
path: ./.github/workflows
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8 # change cachepip step when changing this
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jupyter "notebook<7"
- name: Run pip conflicts check
run: |
bash .ci/pip_conflicts_check.sh --ignore .ci/ignore_pip_conflicts.txt