Skip to content

Add policy vis for cartpole #2

Add policy vis for cartpole

Add policy vis for cartpole #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install ruff
- run: ruff check src/polystep/
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e ".[dev]"
- name: Core library tests
run: |
pytest tests/ -v -m "not slow and not gpu" --timeout=120 -x \
--ignore=tests/test_baseline_fairness.py \
--ignore=tests/test_elevation_experiment.py \
--ignore=tests/test_gpt2_finetune.py \
--ignore=tests/test_maxsat_delta.py \
--ignore=tests/test_maxsat_experiment.py \
--ignore=tests/test_nondiff_data.py \
--ignore=tests/test_nondiff_models.py \
--ignore=tests/test_no_test_set_leakage.py \
--ignore=tests/test_rl_benchmarks.py \
--ignore=tests/test_run_experiment.py \
--ignore=tests/test_softmax_correctness.py