eask analyze should exit with 1 on errors #542
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - lisp/** | |
| - cmds/** | |
| - src/** | |
| - test/** | |
| - '**.yml' | |
| - '**.json' | |
| - 'eask' | |
| # ignore | |
| - '!**/docs.yml' | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - '**/docs.yml' | |
| - '**.md' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| # XXX: `macos-latest` on arm64 is not possible as well!? | |
| # See https://stackoverflow.com/questions/77675906/github-actions-build-docker-image-on-arm64-macos-latest-xlarge | |
| #- macos-latest | |
| # XXX: `windows-latest` is not possible at the moment! | |
| #- windows-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Install Docker (Linux) | |
| if: runner.os == 'Linux' | |
| uses: docker/setup-docker-action@v4 | |
| - name: Install Docker (macOS) | |
| if: runner.os == 'macOS' | |
| run: | | |
| brew install docker | |
| - name: Install Docker (Windows) | |
| if: runner.os == 'Windows' | |
| uses: crazy-max/ghaction-chocolatey@v3 | |
| with: | |
| args: install docker | |
| - name: Prepare Eask (Unix) | |
| if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' | |
| run: | | |
| chmod -R 777 ./ | |
| .github/scripts/setup-eask | |
| - name: Prepare Eask (Windows) | |
| if: matrix.os == 'windows-latest' | |
| run: .github/scripts/setup-eask.ps1 | |
| - name: Testing... | |
| run: | | |
| npm run test-unsafe test/jest/docker.test.js |