Skip to content

Modify pyproject.toml #58

Modify pyproject.toml

Modify pyproject.toml #58

Workflow file for this run

name: QENS models on Windows
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
platform: [windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10"]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
- name: lint with flake8
run: |
pip install flake8
python -m flake8 QENSmodels
python -m flake8 tests
python -m flake8 docs\examples\using_mantid\mantid_BrownianDiff_fit.py
- name: run unitests
run: |
python -m unittest discover tests
- name: run doctests
run: |
pip install pytest
pytest --doctest-modules QENSmodels