summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
AgeCommit message (Collapse)Author
2019-09-17`brew install` may fail, so try to use `tool/travis_retry.sh`Kazuhiro NISHIYAMA
https://github.com/ruby/ruby/runs/224877570#step:3:1008 ``` Error: No such file or directory @ dir_s_rmdir - /Users/runner/Library/Caches/Homebrew/downloads/ca756e367eb98d2b525e72b311633c27ffc74eca825a5392153b3488d1adb732--libssh2-1.9.0.mojave.bottle.tar.gz ``` Notes: Merged: https://github.com/ruby/ruby/pull/2464
2019-09-05Try to fix `invalid option`Kazuhiro NISHIYAMA
https://github.com/ruby/ruby/runs/212727409#step:11:67 ``` invalid option: -j5 ```
2019-09-05Change name to `Tests (test-bundled-gems)` in macos.yml tooKazuhiro NISHIYAMA
2019-09-04Add TEST_BUNDLED_GEMS_ALLOW_FAILURES=minitestKazuhiro NISHIYAMA
2019-09-04`$JOBS` does not set in `env:`Kazuhiro NISHIYAMA
2019-09-04Use RUBY_TESTOPTS instead of TESTOPTSKazuhiro NISHIYAMA
https://github.com/ruby/ruby/pull/2417#issuecomment-526884646 > `TESTOPTS` is defaulted to `$(RUBY_TESTOPTS)` in `common.mk` file. > Use the latter name to pass options via an environment variable.
2019-08-28Remove GITHUB_SHA from jobs.<job_id>.steps.envKazuhiro NISHIYAMA
because default value overrides it. https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
2019-08-27Revert "Explain which test task"Nobuyoshi Nakada
This reverts commit 9bc1667a188392b94971b9b96507af76cbd5f413. `name` lines are not expanded.
2019-08-27Explain which test taskNobuyoshi Nakada
2019-08-22Make GitHub Actions Slack notification consistentTakashi Kokubun
with Travis, rather than AppVeyor. Formerly it was made similar to AppVeyor to provide some normal set of CI failure notification. But for some reason people preferred a shorter variant and introduced a1d606c079f6c3d1779d885e0bf2e3991251609e and d8d8015b93c6daa8d8433895464db3493a2056e2. Instead of AppVeyor format, this commit chose Travis-like format to achieve consistency and to include usual CI-failure information, while keeping it one-liner for people who prefer short notifications. Note that this shrinks the 40-char sha to 10-char, using the new feature of k0kubun/action-slack@v2.0.0: https://github.com/k0kubun/action-slack/commit/1c88a05dac664cbafa1c99a37f292ed23ac1c289
2019-08-22Remove footer from message to Slackaycabta
2019-08-22Show short message to Slackaycabta
2019-08-20Skip tests on Actions if [ci skip]Takashi Kokubun
It seems that we cannot easily apply job-level [ci skip]. Therefore this commit skips only Tests step if it's [ci skip].
2019-08-19Reduce sub-shell and use `&&` instead of `;`Kazuhiro NISHIYAMA
2019-08-19Roughly retry `brew update`Takashi Kokubun
as it failed randomly https://github.com/ruby/ruby/runs/196712109
2019-08-19Stop reporting test-bundled-gems resultsTakashi Kokubun
by marking continue-on-error. I dropped it to test Slack notification, and I finished to test it.
2019-08-19Workaround errors on multi-line commit messageTakashi Kokubun
by using toJson with fields.
2019-08-19Make Slack notification availableTakashi Kokubun
for macOS / Windows as well. Docker-based GitHub Action does not work on these OSes.
2019-08-19Implement Slack notification for ActionsTakashi Kokubun
2019-08-18Revert "Try notifying Slack from Actions"Takashi Kokubun
This reverts commit d8807e8b1a9d09ee1543e18618b4ef7e8203c616. We'd need more features. Reverting to customize this later.
2019-08-18Try notifying Slack from ActionsTakashi Kokubun
https://github.com/8398a7/action-slack https://github.com/marketplace/actions/action-slack
2019-08-17Disable fail-fast of GitHub ActionsTakashi Kokubun
This is default: true https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast When `make check` fails, we do not want to cancel `make test-bundler`.
2019-08-14Mark bundler / bundled-gems as continue-on-failureTakashi Kokubun
because these tests have failed too often and it's false-positive for checking healthiness of the master branch. Notes: Merged: https://github.com/ruby/ruby/pull/2367
2019-08-14Stop using official actions/checkoutTakashi Kokubun
because it has been unstable, and also it sometimes does not work for a pull request like: https://github.com/ruby/ruby/pull/2358/checks?check_run_id=192685048#step:4:17 Notes: Merged: https://github.com/ruby/ruby/pull/2360
2019-08-13Use the official actions/checkout again (#2357)Takashi Kokubun
because clone does not checkout exact commit sha, and also we'd need to handle pull_request on fork, so I tentatively stopped to do this. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2019-08-12Revert "Roughly retry `brew update` on GitHub Actions"Takashi Kokubun
This reverts commit 5ee11a95ffbf194a73d1bea300a35f5d6250d203. Sorry, timeout(1) was missing.
2019-08-12Drop unused ccacheTakashi Kokubun
unlike Travis, it seems not used.
2019-08-12Roughly retry `brew update` on GitHub ActionsTakashi Kokubun
because it has failed often on Travis.
2019-08-12Try testing openssl@1.1 on GitHub ActionsTakashi Kokubun
because somebody may want to remove the duplicated Travis osx usage later. Notes: Merged: https://github.com/ruby/ruby/pull/2343
2019-08-12We did not have tool/ before checkoutTakashi Kokubun
anyway we don't need authorization here. Also retry does not seem to work in the original version, so let's extend this with retries as a separate github action later.
2019-08-12Stop relying on actions/checkoutTakashi Kokubun
because it randomly fails on authorization like: https://github.com/ruby/ruby/runs/190887455 Also the backoff seems too short. Maybe we need tool/travis_retry.sh for this too. Cloning ruby/ruby does not need authorization. We don't need to use actions/checkout.
2019-08-12Re-use GITHUB_ACTION variables for filtering bundler examples.Hiroshi SHIBATA
2019-08-12Added test-bundled-gems to GitHub ActionsHiroshi SHIBATA
2019-08-11Increase fetch-depthHiroshi SHIBATA
2019-08-11GitHub Actions does not support ANSI color code. Skip failing examples.Hiroshi SHIBATA
2019-08-11Use check.Hiroshi SHIBATA
2019-08-11Try to migrate test-bundler to Actions.Hiroshi SHIBATA
2019-08-10Fix wrong pull_request filterTakashi Kokubun
The specification was not triggered on a pull request.
2019-08-10Increase the fetch-depth of GitHub ActionsTakashi Kokubun
because small numbers had made Azure Pipelines in the past and it's using 20 now. I heard GitHub Actions has more parallelism, so it should be okay.
2019-08-10Set more descriptive labels to workflowTakashi Kokubun
2019-08-10Drop confusing label from workflowTakashi Kokubun
because it's doing more than test-all
2019-08-10Escape asterisk on pull request pathsTakashi Kokubun
2019-08-10Skip running GitHub Actions on trunkTakashi Kokubun
2019-08-10Rename workflow.yml to macos.ymlTakashi Kokubun
to allow having other workflows separately, and configure `name` to simplify a tooltip label on GitHub.