Skip to content

chore(main): release 1.0.2 #318

chore(main): release 1.0.2

chore(main): release 1.0.2 #318

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg graphviz libgraphviz-dev pkg-config build-essential python3-dev
- name: Install dependencies
run: |
uv sync --group test
- name: Running unit tests with coverage
run: |
uv run pytest test -n 2 -m "not nightly" --cov=pymdp --cov-report=xml --cov-report=html --cov-report=term
- name: Upload coverage reports as artifact
uses: actions/upload-artifact@v4
with:
name: pymdp-coverage
path: |
coverage.xml
htmlcov/
retention-days: 30
- name: Running CI-tier notebook tests
run: |
uv run python scripts/run_notebook_manifest.py test/notebooks/ci_notebooks.txt