Skip to content

Troubleshooting mpl Tick label.. #262

Troubleshooting mpl Tick label..

Troubleshooting mpl Tick label.. #262

Workflow file for this run

name: CI
on:
push:
branches: [ "main", "docs", "patch", "feature", "mplot" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Style and type linter, Coverage
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Check black formatter and pyflakes
run: |
black forestplot/ --check -l 95
black tests/ --check -l 95
python -m pyflakes forestplot/arg_validators.py
python -m pyflakes forestplot/dataframe_utils.py
python -m pyflakes forestplot/graph_utils.py
python -m pyflakes forestplot/text_utils.py
python -m pyflakes tests/
mypy
- name: Generate coverage report
run: |
coverage run -m pytest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
build_linux:
name: Build ubuntu wheel for python${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Test with pytest
run: |
pytest -v --disable-warnings
build_macOS:
name: Build macOS wheel for python${{ matrix.python-version }}
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.6','3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Test with pytest
run: |
pytest -v --disable-warnings
build_windows:
name: Build windows wheel for python${{ matrix.python-version }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.6','3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements_dev.txt
- name: Test with pytest
run: |
pytest -v --disable-warnings