Fix laplacian rating (#183) #530
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: VStarStack | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pylint | |
python -m pip install pytest | |
python -m pip install pytest-cov | |
python -m pip install build | |
python -m pip install cython | |
python -m pip install wheel | |
python -m pip install -r requirements.txt | |
- name: Lint with pylint | |
run: | | |
pylint --rcfile=pylintrc --fail-under=9 src/ | |
- name: Build & Install | |
run: | | |
python -m build . --wheel -n | |
find ./dist/*.whl | xargs python -m pip install | |
- name: Test that tools launches | |
run: | | |
vstarstack | |
- name: Test library with pytest | |
run: | | |
pytest --cov-fail-under=47 --cov=vstarstack.library tests/ |