diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml deleted file mode 100644 index 7ffa02e..0000000 --- a/.github/workflows/codespell.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: codespell - -on: - push: - branches: [main] - pull_request: - branches: [main] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - # Check for common misspellings - codespell: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: codespell-project/actions-codespell@master diff --git a/.github/workflows/matlab_test_and_coverage.yml b/.github/workflows/matlab_test_and_coverage.yml index ef8c50c..7082fa8 100644 --- a/.github/workflows/matlab_test_and_coverage.yml +++ b/.github/workflows/matlab_test_and_coverage.yml @@ -12,7 +12,7 @@ name: 'MATLAB: test and coverage' on: push: - branches: [master, main, dev] + branches: [main] pull_request: branches: ['*'] @@ -21,8 +21,11 @@ jobs: strategy: matrix: - version: [R2021a, R2021b, R2022a, R2022b, R2023a] - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, windows-latest] + version: [R2021a, R2023b] + include: + - os: macos-latest + version: R2023b fail-fast: false # Don't cancel all jobs if one fails runs-on: ${{ matrix.os }} diff --git a/.github/workflows/miss_hit.yml b/.github/workflows/miss_hit.yml deleted file mode 100644 index 26cf78f..0000000 --- a/.github/workflows/miss_hit.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -name: miss_hit - -on: - push: - branches: - - main - - dev - paths: - - '**.m' - - .github/workflows/miss_hit.yml - pull_request: - branches: ['*'] - paths: - - '**.m' - - .github/workflows/miss_hit.yml -jobs: - - miss_hit: - - runs-on: ubuntu-latest - - strategy: - matrix: - command: [mh_style, mh_metric --ci && mh_lint] - fail-fast: true # cancel all jobs if one fails - - steps: - - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip setuptools - pip3 install -r requirements.txt - - - name: ${{ matrix.command }} - run: | - ${{ matrix.command }} diff --git a/.github/workflows/octave_test_and_coverage.yml b/.github/workflows/octave_test_and_coverage.yml index b604bff..0cd5728 100644 --- a/.github/workflows/octave_test_and_coverage.yml +++ b/.github/workflows/octave_test_and_coverage.yml @@ -3,7 +3,7 @@ name: 'Octave: test and coverage' on: push: - branches: [master, main, dev] + branches: [main] pull_request: branches: ['*']