forked from gedeck/practical-statistics-for-data-scientists
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 1.25 KB
/
build.yml
File metadata and controls
35 lines (35 loc) · 1.25 KB
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
name: build
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on:
# pull_request:
# paths-ignore:
# - '**/*.md'
push:
paths-ignore:
- '**/*.md'
workflow_dispatch:
jobs:
build-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
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"