Skip to content

CI

CI #381

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
# Run daily at 2:34 UTC
schedule:
- cron: '34 2 * * *'
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- os: macos-latest
python-version: "3.7"
- os: macos-latest
python-version: "3.11"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install .
python -m pip --quiet install ipythonblocks matplotlib pytest
python -m pip list
- name: Run unit tests
run: |
pytest