Skip to content

Create a plugin for additional filetypes (such as parquet) #204

Create a plugin for additional filetypes (such as parquet)

Create a plugin for additional filetypes (such as parquet) #204

Workflow file for this run

name: Test xiplot
on:
workflow_dispatch:
push:
branches: [main]
paths: ["**.py", "requirements.txt", "requirements-dev.txt"]
pull_request:
branches: [main]
paths: ["**.py", "requirements*.txt", "requirements-dev.txt"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up chome
run: |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update
sudo apt-get install libnss3-dev google-chrome-stable
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt -r requirements-dev.txt
- name: Build package
run: |
python -m build .
python -c "import os, glob; assert os.path.getsize(sorted(glob.glob('dist/*-*.whl'))[-1]) > 10_000"
- name: Test with pytest
run: |
pytest