Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip
pip install -r pip-requirements.txt
python setup.py install --user
- name: run tests
shell: bash
run: |
./run-tests.sh

Expand All @@ -29,21 +31,23 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
python-version: [3.8]
python-version: ["3.10"]

# have to copy steps from above, as anchors are currently
# not supported by github workflow (Jan 2020).
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash
run: |
python -m pip install --upgrade pip
pip install -r pip-requirements.txt
python setup.py install --user
- name: run tests
shell: bash
run: |
./run-tests.sh
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@


from setuptools import setup, find_packages
import numpy
import os

import versioneer
Expand All @@ -32,10 +31,8 @@
author_email='stephan.kuschel@gmail.de',
description='Diffraction Imaging Tools for Python',
url='https://github.com/skuschel/diffractionimaging',
include_dirs = [numpy.get_include()],
license='GPLv3+',
python_requires='>=3.6',
setup_requires=['numpy>=1.8'],
install_requires=['numpy>=1.8',
'scipy',
'urllib3',
Expand Down
Loading