From 0f27ea7fa68ca0d8190aa2780c3b9ca2f60c3d62 Mon Sep 17 00:00:00 2001 From: Alho Markku J Date: Fri, 23 Aug 2024 09:57:14 +0300 Subject: [PATCH] Scikit-image and python version spread --- .github/workflows/python_import.yml | 8 ++++---- .github/workflows/python_lint.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/python_import.yml b/.github/workflows/python_import.yml index a0e3d231..3f1faa29 100644 --- a/.github/workflows/python_import.yml +++ b/.github/workflows/python_import.yml @@ -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: @@ -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 @@ -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 diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index 3d540b5f..f0f01b10 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -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: @@ -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 @@ -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