Skip to content

Merge branch 'master' of https://github.com/NDoering99/mdpath #1

Merge branch 'master' of https://github.com/NDoering99/mdpath

Merge branch 'master' of https://github.com/NDoering99/mdpath #1

Workflow file for this run

name: MacOS_CI_CD
on: [push]
jobs:
build_macos:
runs-on: macos-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
max-parallel: 3
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 package and its entry points
run: |
pip install .
- name: Install linter and formatter
run: |
python -m pip install flake8 black
- name: Lint and format
run: |
flake8 .
black .
- name: Install pytest and run tests
run: |
python -m pip install pytest pytest-mock
pytest mdpath/tests/