Skip to content

Commit

Permalink
Merge branch 'master' into 340-read_histology_profiletemplate=fslr32k…
Browse files Browse the repository at this point in the history
…-gives-error-in-h5_filegettemplate
  • Loading branch information
zihuaihuai committed Sep 26, 2024
2 parents ea0948c + 5b3ec56 commit 4a33d4a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 27 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/MATLAB_unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ on:
push:
branches:
- master
paths:
- brainstat_matlab/*
- '**.m'
pull_request:
paths:
- brainstat_matlab/*
- '**.m'

jobs:
matlab_unit_test:
Expand Down
54 changes: 27 additions & 27 deletions .github/workflows/python_unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,35 +35,35 @@ jobs:
run: |
python3 -m pytest
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
# mypy:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python 3.9
# uses: actions/setup-python@v2
# with:
# python-version: 3.9

- name: Install Dependencies
shell: bash
run: |
python -m pip install -e .[dev]
python -m pip install numpy==1.21.5
# - name: Install Dependencies
# shell: bash
# run: |
# python -m pip install -e .[dev]
# python -m pip install numpy==1.21.5

- name: Test with mypy
shell: bash
run: |
python3 -m mypy $(find brainstat -path "*tests*" -prune -false -o -name "*.py")
# - name: Test with mypy
# shell: bash
# run: |
# python3 -m mypy $(find brainstat -path "*tests*" -prune -false -o -name "*.py")

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: psf/black@stable
with:
black_args: ". --check"
# lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-python@v2
# with:
# python-version: 3.8
# - uses: psf/black@stable
# with:
# black_args: ". --check"


0 comments on commit 4a33d4a

Please sign in to comment.