Skip to content

Merge pull request #9 from harmsm/main #1

Merge pull request #9 from harmsm/main

Merge pull request #9 from harmsm/main #1

Workflow file for this run

# This workflow will install Python dependencies, run tests and flake8 across
# platforms and python versions.
name: ElliptiCBn
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ubuntu-latest,macos-latest,windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10' , '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install ElliptiCBn
run: |
# platform specific packages
python -m pip install . -vv -r requirements.txt
- name: run flake8
run: |
pip install flake8
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: run pytest coverage
run: |
pip install pytest
pytest tests/