Skip to content

Added axis debug and axis inch margin functions #90

Added axis debug and axis inch margin functions

Added axis debug and axis inch margin functions #90

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and do a local pip install
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Run test suite, with coverage
run: |
git config --global user.name "CI"
git config --global user.email ""
pytest --cov=rushd --cov-report=xml --continue-on-collection-errors
continue-on-error: true
- name: Upload coverage to Codecov
uses: codecov/[email protected]
env:
PYTHON: ${{ matrix.python-version }}
with:
file: ./coverage.xml
flags: unittests
env_vars: PYTHON
name: github_actions
- name: Run test-suite in fail mode
run: pytest --continue-on-collection-errors
- name: Run pre-commit
uses: pre-commit/[email protected]