forked from tinkoff-ai/etna
-
Notifications
You must be signed in to change notification settings - Fork 10
41 lines (34 loc) · 917 Bytes
/
notebooks.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
name: Test notebooks
on:
push:
branches:
- master
pull_request:
branches:
- master
types: [closed]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
notebooks-test:
if: github.event_name == 'push'||github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.7.1
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install dependencies
run: |
poetry install -E "all release jupyter classification" -vv
- name: Notebook runner
run: |
poetry run python -m scripts.notebook_runner