Skip to content

add parameters to customize the colors of the arrows and scale bar #47

add parameters to customize the colors of the arrows and scale bar

add parameters to customize the colors of the arrows and scale bar #47

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
pytest-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.11' ]
name: Test with Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python3 -
poetry install
- name: Run tests
run: |
poetry run python -m unittest
- name: Upload results
if: matrix.python-version == '3.11'
uses: actions/upload-artifact@v3
with:
name: test_output
path: test_output/
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
jupyter: true
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: chartboost/ruff-action@v1