diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-10-11 15:50:29 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-10-11 15:50:38 -0700 |
| commit | eca1c2e717e6a16e7abbf591f63d5a223c124023 (patch) | |
| tree | 1a59d680acf86e243bc4ba8e8950ad356fefe1fa /.github | |
| parent | 94508a8a60bd3cc783ac48961c6857342f46e872 (diff) | |
Remove redundancy in macOS jobs
I don't think we need to test the same OS twice or the same
configuration twice. This is similar to .github/workflows/ubuntu.yml.
I also tweaked the label of Slack notifications.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/macos.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e235941503..46fdd3e228 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -34,12 +34,12 @@ jobs: strategy: matrix: test_task: ['check'] # "test-bundler-parallel", "test-bundled-gems" - os: - - macos-11 - - macos-12 - configure: - - '' - - '--enable-shared' + # specifying everything else with `include` to avoid redundant tests + include: + - os: macos-11 + configure: '' + - os: macos-12 + configure: '--enable-shared' fail-fast: false env: @@ -102,7 +102,7 @@ jobs: - uses: ./.github/actions/slack with: - label: ${{ matrix.test_task }} + label: ${{ matrix.os }} / ${{ matrix.test_task }} ${{ matrix.configure }} SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot if: ${{ failure() }} |
