Skip to content

Fixed unhandled case when only one plot is passed into plt.subplot for the bayesian visualize_model function #82

Fixed unhandled case when only one plot is passed into plt.subplot for the bayesian visualize_model function

Fixed unhandled case when only one plot is passed into plt.subplot for the bayesian visualize_model function #82

Workflow file for this run

name: Run tests
on:
pull_request:
push:
release:
types:
- published
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
name: Test Suite
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ./.github/actions/conda-setup
with:
python-version: ${{ matrix.python-version }}
extras: "dev"
- name: Test environment conda package list
shell: bash -l {0}
run: |
conda list
- name: Run unit tests
shell: bash -l {0}
run: |
echo -e '## Test results\n\n```' >> "$GITHUB_STEP_SUMMARY"
pytest xopt/tests -v 2>&1 | tee -a "$GITHUB_STEP_SUMMARY"
echo '```' >> "$GITHUB_STEP_SUMMARY"