diff --git a/.github/workflows/MATLAB_unittests.yml b/.github/workflows/MATLAB_unittests.yml index 353cdfa4..f3c20bf1 100644 --- a/.github/workflows/MATLAB_unittests.yml +++ b/.github/workflows/MATLAB_unittests.yml @@ -4,7 +4,13 @@ on: push: branches: - master + paths: + - brainstat_matlab/* + - '**.m' pull_request: + paths: + - brainstat_matlab/* + - '**.m' jobs: matlab_unit_test: diff --git a/.github/workflows/python_unittests.yml b/.github/workflows/python_unittests.yml index 61de69b0..0ed40973 100644 --- a/.github/workflows/python_unittests.yml +++ b/.github/workflows/python_unittests.yml @@ -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"