Skip to content

Replace with clean path-intact layout + Chapter 2 working code + CI #1

Replace with clean path-intact layout + Chapter 2 working code + CI

Replace with clean path-intact layout + Chapter 2 working code + CI #1

Workflow file for this run

name: Python (Chapters)
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install root deps
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Chapter 2 tests
run: pytest -q ch2_rl_formulation/tests
- name: Run Chapter 3 tests
run: pytest -q ch3_multi_armed_bandits/tests