Skip to content

Commit

Permalink
Scikit-image and python version spread
Browse files Browse the repository at this point in the history
  • Loading branch information
alhom committed Aug 23, 2024
1 parent 0b1c8a0 commit 0f27ea7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python_import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Python import test

on:
push:
branches: [ $default-branch CI_introduction]
branches: [ master ]
pull_request:
branches: [ $default-branch CI_introduction]
branches: [ master ]
workflow_dispatch:

jobs:
Expand All @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.6", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install numpy scipy matplotlib # add versions to matrix
python -m pip install numpy scipy matplotlib scikit-image # add versions to matrix
- name: Trial imports
run: python pytools.py
# - name: Test with pytest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Python linting with flake8

on:
push:
branches: [ $default-branch CI_introduction]
branches: [ master ]
pull_request:
branches: [ $default-branch CI_introduction]
branches: [ master ]
workflow_dispatch:

jobs:
Expand All @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.6", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python -m pip install numpy scipy matplotlib # add versions to matrix
python -m pip install numpy scipy matplotlib scikit-image # add versions to matrix
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down

0 comments on commit 0f27ea7

Please sign in to comment.