Skip to content

paleomag Core dd bug fix #206

paleomag Core dd bug fix

paleomag Core dd bug fix #206

Workflow file for this run

name: Python testing
on:
push:
branches:
- '**'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
pip install .
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --exit-zero --max-complexity=20 --max-line-length=127 --ignore=E501,W503
- name: Test with pytest
run: |
pytest