-
Notifications
You must be signed in to change notification settings - Fork 1.8k
44 lines (43 loc) · 1.53 KB
/
build.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
name: build
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths-ignore:
- '**/*.md'
workflow_dispatch:
jobs:
build-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install graphviz
run: sudo apt install -y graphviz
- run: pip install --requirement requirements.txt
- run: cd python/code; python "Chapter 1 - Exploratory Data Analysis.py"
- run: cd python/code; python "Chapter 2 - Data and sampling distributions.py"
- run: cd python/code; python "Chapter 3 - Statistical Experiments and Significance Testing.py"
- run: cd python/code; python "Chapter 4 - Regression and Prediction.py"
- run: cd python/code; python "Chapter 5 - Classification.py"
- run: cd python/code; python "Chapter 6 - Statistical Machine Learning.py"
- run: cd python/code; python "Chapter 7 - Unsupervised Learning.py"
# pylint:
# runs-on: ubuntu-latest
# name: Pylint
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.10'
# - run: pip install --upgrade pip pylint matplotlib pandas scikit-learn pytest
# - run: cd src; pylint dmba