diff --git a/.github/workflows/test.yaml b/.github/workflows/CI.yaml similarity index 59% rename from .github/workflows/test.yaml rename to .github/workflows/CI.yaml index 9a76eca..6371784 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/CI.yaml @@ -1,17 +1,31 @@ -name: Run tests - -on: [push, pull_request] - +name: CI +on: + push: + branches: + - master + tags: '*' + pull_request: +concurrency: + # Skip intermediate builds: always. + # Cancel intermediate builds: only if it is a pull request build. + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} jobs: test: + name: MATLAB ${{ matrix.matlab-version }} - Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: - matlab-version: ['R2021b'] - julia-version: ['1.5'] - julia-arch: [x64] - os: [ubuntu-latest] - + matlab-version: + - 'R2021b' + julia-version: + - '1.6' + - '1' + os: + - ubuntu-latest + arch: + - x64 steps: - name: Install csh run: sudo apt-get install -y csh