зеркало из https://github.com/github/ruby.git
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.
This commit is contained in:
Родитель
94508a8a60
Коммит
eca1c2e717
|
@ -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() }}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче