Skip to content
Merged
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
24 changes: 14 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: PyHyperScattering CI Testing

on:
push:
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
Expand All @@ -12,9 +11,18 @@ jobs:
runs-on: ${{ matrix.os}}
strategy:
matrix:
python-version: ['3.10','3.11']
python-version: ['3.10','3.11','3.12','3.13']
os: [ubuntu-latest, macOS-latest, windows-latest]

exclude:
- os: macOS-latest
python-version: '3.11'
- os: macOS-latest
python-version: '3.12'
- os: windows-latest
python-version: '3.11'
# this last one is a specific incompatibility...
- os: windows-latest
python-version: '3.13'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -26,18 +34,14 @@ jobs:
with:
path: ${{ env.pythonLocation }}
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py${{ matrix.python-version }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest coverage
pip install pybind11 wheel
pip install -r requirements.txt
pip install -r requirements-bluesky.txt
pip install dask
pip install .[dev,bluesky]
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
formats: |-
epub
pdf
pip-requirements: 'requirements.txt'
pip-requirements: 'docs-requirements.txt'
1 change: 1 addition & 0 deletions docs-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.
19 changes: 0 additions & 19 deletions env.yml

This file was deleted.

21 changes: 18 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies = [
"numpy<2",
"pandas",
"pyfai",
"pyopencl",
"scikit-image",
"scipy",
"pillow",
Expand Down Expand Up @@ -63,6 +62,12 @@ doc = [
"sphinx",
"pydata_sphinx_theme"
]
dev = ["flake8",
"pytest",
"coverage",
"pybind11",
"wheel"
]
test = [
"pytest",
"black",
Expand All @@ -83,7 +88,12 @@ all-nogpu = [
"pytest",
"black",
"codecov",
"pylint"
"pylint",
"flake8",
"pytest",
"coverage",
"pybind11",
"wheel"
]
all = [
"tiled[all]>=0.1.0a74",
Expand All @@ -102,7 +112,12 @@ all = [
"pytest",
"black",
"codecov",
"pylint"
"pylint",
"flake8",
"pytest",
"coverage",
"pybind11",
"wheel"
]

[project.urls]
Expand Down
4 changes: 0 additions & 4 deletions requirements-bluesky.txt

This file was deleted.

3 changes: 0 additions & 3 deletions requirements-performance.txt

This file was deleted.

3 changes: 0 additions & 3 deletions requirements-ui.txt

This file was deleted.

18 changes: 0 additions & 18 deletions requirements.txt

This file was deleted.

Loading