generated from FlorianMF/template-repo-python
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.08 KB
/
notebook_tests_mac.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
name: "NotebookTests MacOS"
# see: https://help.github.com/en/actions/reference/events-that-trigger-workflows
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
if: false # always skip job
runs-on: macos-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
env:
TEST_ENV: TRUE
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U pip wheel
pip install -r requirements/install.txt
pip install -r requirements/unittests.txt
pip install -r requirements/notebooks.txt
pip install --no-deps .
- name: Run Notebooks
run: |
treon --threads=1 # with more threads this requires to much RAM