Skip to content

Add Chapter 3 multi-armed bandits: env, algorithms, examples, tests #3

Add Chapter 3 multi-armed bandits: env, algorithms, examples, tests

Add Chapter 3 multi-armed bandits: env, algorithms, examples, tests #3

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