Skip to content

release: 0.22.0

release: 0.22.0 #1126

Workflow file for this run

name: Run Unit Tests
on:
push: {}
pull_request: {}
schedule:
# Run daily
- cron: "6 4 * * *"
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies
run: |
sudo apt-get install -y libkrb5-dev
- name: Install package dependencies
run: |
python -m pip install --upgrade pip
pip install pytest mock
pip install -r hdijupyterutils/requirements.txt -e hdijupyterutils
pip install -r autovizwidget/requirements.txt -e autovizwidget
pip install -r sparkmagic/requirements.txt -e sparkmagic
- name: Run hdijupyterutils tests
run: |
pytest hdijupyterutils
- name: Run autovizwidget tests
run: |
pytest autovizwidget
- name: Run sparkmagic tests
run: |
mkdir ~/.sparkmagic
pytest sparkmagic