bump version and fix ci #144
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: ${{ matrix.name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Linux py38 | |
os: ubuntu-latest | |
pyversion: '3.8' | |
- name: Linux py39 | |
os: ubuntu-latest | |
pyversion: '3.9' | |
- name: Linux py310 | |
os: ubuntu-latest | |
pyversion: '3.10' | |
- name: Linux py311 | |
os: ubuntu-latest | |
pyversion: '3.11' | |
- name: Linux py312 | |
os: ubuntu-latest | |
pyversion: '3.12' | |
- name: MacOS py312 | |
os: macos-latest | |
pyversion: '3.12' | |
- name: Windows py312 | |
os: windows-latest | |
pyversion: '3.12' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.pyversion }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.pyversion }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -U -r requirements.txt | |
pip install -q -U black flake8 pytest | |
- name: Lint (black and flake8) | |
run: | | |
black --check . | |
flake8 . | |
- name: Test with pytest | |
shell: bash | |
run: | | |
python setup.py install | |
rm -rf ./dash_slicer ./build ./egg-info | |
pytest -v . |