Граф коммитов

116 Коммитов

Автор SHA1 Сообщение Дата
Takashi Kokubun 3bed468e88
Omit unused matrix strategy from doxygen workflow 2019-08-27 23:49:36 +09:00
Kazuhiro NISHIYAMA d806078237
Add graphviz for dot command 2019-08-27 18:46:16 +09:00
Yusuke Endoh 3ac0b75c45
Doxygen in GitHub Actions (#2406)
* .github/workflows/doxygen.yml: add a workflow for doxygen in Actions
2019-08-27 16:39:42 +09:00
Nobuyoshi Nakada 2fb723b8af
Revert "Explain which test task"
This reverts commit 9bc1667a18.

`name` lines are not expanded.
2019-08-27 15:11:39 +09:00
Yusuke Endoh 0c8525ecc9 .github/workflows/coverage.yml: add a cron job for coverage in Actions 2019-08-27 14:40:59 +09:00
Nobuyoshi Nakada 9bc1667a18
Explain which test task 2019-08-27 14:30:52 +09:00
Kazuhiro NISHIYAMA ccc5b22a7f
Expand JOBS instead of meaningless export (#2402)
* Expand JOBS instead of meaningless export

* Remove -j option in TESTOPTS of test-bundled-gems

https://github.com/ruby/ruby/runs/203129516#step:10:167
> invalid option: -j3
2019-08-26 21:09:02 +09:00
Takashi Kokubun fd20b32130
Make GitHub Actions Slack notification consistent
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 a1d606c079 and
d8d8015b93.

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:
1c88a05dac
2019-08-22 23:10:55 +09:00
aycabta d8d8015b93 Remove footer from message to Slack 2019-08-22 09:24:35 +09:00
aycabta a1d606c079 Show short message to Slack 2019-08-22 07:57:12 +09:00
Takashi Kokubun c030cec7ca
Debug GitHub context on broken notification
sometimes Slack notification footer becomes just " at ".
It seems like `github.event.head_commit` is missing. Let me debug the
context.
2019-08-21 23:13:22 +09:00
Takashi Kokubun d10e28b875
Skip tests on Actions if [ci skip]
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-20 23:58:37 +09:00
Kazuhiro NISHIYAMA 45bed2850e
Reduce sub-shell and use `&&` instead of `;` 2019-08-19 19:37:07 +09:00
Takashi Kokubun 6c2aa8689a
Roughly retry `brew update`
as it failed randomly https://github.com/ruby/ruby/runs/196712109
2019-08-19 14:59:59 +09:00
Takashi Kokubun d106f08291
Stop reporting test-bundled-gems results
by marking continue-on-error.

I dropped it to test Slack notification, and I finished to test it.
2019-08-19 09:41:52 +09:00
Takashi Kokubun c100e3856a
Workaround errors on multi-line commit message
by using toJson with fields.
2019-08-19 03:40:34 +09:00
Takashi Kokubun e139d27748
Make Slack notification available
for macOS / Windows as well.

Docker-based GitHub Action does not work on these OSes.
2019-08-19 03:14:19 +09:00
Takashi Kokubun 2f6c8ed26e
Implement Slack notification for Actions 2019-08-19 01:49:52 +09:00
Takashi Kokubun e4c43207f9
Revert "Try notifying Slack from Actions"
This reverts commit d8807e8b1a.

We'd need more features. Reverting to customize this later.
2019-08-18 23:32:49 +09:00
Takashi Kokubun d8807e8b1a
Try notifying Slack from Actions
https://github.com/8398a7/action-slack
https://github.com/marketplace/actions/action-slack
2019-08-18 23:19:10 +09:00
Takashi Kokubun a0e80c7cb7
Drop continue-on-error for make check
Like macos.yml, we don't need to ignore `make check` failure.
2019-08-18 09:30:36 +09:00
Hiroshi SHIBATA 2468466a1a Added missing condition for test-bundler and test-bundled-gems. 2019-08-17 13:27:11 +09:00
Hiroshi SHIBATA ea496e9fb2 Added test check to ubuntu on GitHub Actions 2019-08-17 13:27:11 +09:00
Takashi Kokubun 045152df9e
Disable fail-fast of GitHub Actions
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-17 09:43:06 +09:00
Takashi Kokubun 9874dca3e7 Mark bundler / bundled-gems as continue-on-failure
because these tests have failed too often and it's false-positive for
checking healthiness of the master branch.
2019-08-14 23:02:09 +09:00
Takashi Kokubun bf77f43b39
Update the description of check_branch 2019-08-14 22:36:49 +09:00
Takashi Kokubun 8be521662d
Rename check_branch.master to pull_request.check_branch
because it's shown as just "master" on a pull request which does not
have the check_branch.master job yet.

"check_branch" would be easier to understand and now we can grep it from
master branch.
2019-08-14 22:22:12 +09:00
Takashi Kokubun 765d603153
Try to fix variable reference on Windows (#2361)
https://github.com/ruby/ruby/runs/192869165
2019-08-14 10:52:15 +09:00
Takashi Kokubun 8a687b8a4f Stop using official actions/checkout
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
2019-08-14 10:22:25 +09:00
Takashi Kokubun 79f9c626b6
Use the official actions/checkout again (#2357)
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.
2019-08-13 23:36:31 +09:00
Takashi Kokubun 94ca848ca1
Update the comment in check_branch [ci skip] (#2355) 2019-08-13 22:56:44 +09:00
Takashi Kokubun 3979f22cc1
Explain the current status of branches [ci skip] (#2350) 2019-08-13 01:45:10 +09:00
Takashi Kokubun 4e418a6c06
Update check_branch description a little [ci skip] 2019-08-13 01:29:37 +09:00
Takashi Kokubun edd2538268
Add a quick job to be used for branch protection 2019-08-12 23:44:34 +09:00
Hiroshi SHIBATA 188381053c
added --disable-install-doc to Windows workflow of GitHub Actions
Closes: https://github.com/ruby/ruby/pull/2346
2019-08-12 20:11:49 +09:00
Hiroshi SHIBATA 8d50bf40d9
Try to nmake test 2019-08-12 20:11:49 +09:00
Hiroshi SHIBATA 0fd0f74508
Try to merge windows 2016 and 2019 2019-08-12 20:11:49 +09:00
Hiroshi SHIBATA 040bf4c0a6
Added windows-2019 workflow 2019-08-12 20:11:49 +09:00
Hiroshi SHIBATA 981f0be6ff
Try to nmake 2019-08-12 20:11:49 +09:00
Hiroshi SHIBATA bbc5e97b95
Migrate Windows 2016 env to GitHub Actions from AzurePipelines 2019-08-12 20:11:49 +09:00
Takashi Kokubun 5edf921e9b
Revert "Roughly retry `brew update` on GitHub Actions"
This reverts commit 5ee11a95ff.

Sorry, timeout(1) was missing.
2019-08-12 17:55:57 +09:00
Takashi Kokubun 927a43a503
Drop unused ccache
unlike Travis, it seems not used.
2019-08-12 17:46:16 +09:00
Takashi Kokubun 5ee11a95ff
Roughly retry `brew update` on GitHub Actions
because it has failed often on Travis.
2019-08-12 17:44:03 +09:00
Takashi Kokubun d5250808e1
Try testing openssl@1.1 on GitHub Actions
because somebody may want to remove the duplicated Travis osx usage
later.
2019-08-12 16:37:47 +09:00
Takashi Kokubun b1ef14176b
We did not have tool/ before checkout
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-12 14:37:26 +09:00
Takashi Kokubun 4f10a61eaa
Stop relying on actions/checkout
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-12 14:30:43 +09:00
Hiroshi SHIBATA 8a8f680f01
Re-use GITHUB_ACTION variables for filtering bundler examples. 2019-08-12 12:14:39 +09:00
Hiroshi SHIBATA e96321d006
Removed make check 2019-08-12 12:14:39 +09:00
Hiroshi SHIBATA fc97aa9313
Fixed the world writable dirs on Ubuntu environment. 2019-08-12 12:14:39 +09:00
Hiroshi SHIBATA cfb192a7b9
Added test-bundled-gems to GitHub Actions 2019-08-12 12:14:39 +09:00
Hiroshi SHIBATA 11a09d78c1
Port ubuntu workflow based on macos 2019-08-12 12:01:39 +09:00
Hiroshi SHIBATA 91fcd87f5c
Increase fetch-depth 2019-08-11 12:17:22 +09:00
Hiroshi SHIBATA bb2f24251f
GitHub Actions does not support ANSI color code. Skip failing examples. 2019-08-11 12:17:22 +09:00
Hiroshi SHIBATA c685679e25
Use check. 2019-08-11 12:17:22 +09:00
Hiroshi SHIBATA e7996e0fd6
Try to migrate test-bundler to Actions. 2019-08-11 12:17:22 +09:00
Takashi Kokubun c1c8577088
Fix wrong pull_request filter
The specification was not triggered on a pull request.
2019-08-10 20:25:59 +09:00
Takashi Kokubun a6c5ce7a9b
Increase the fetch-depth of GitHub Actions
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-10 19:44:39 +09:00
Takashi Kokubun b3903ef2a1
Set more descriptive labels to workflow 2019-08-10 19:38:28 +09:00
Takashi Kokubun 59a8003ac5
Drop confusing label from workflow
because it's doing more than test-all
2019-08-10 19:33:12 +09:00
Takashi Kokubun 6205f95539
Escape asterisk on pull request paths 2019-08-10 19:29:39 +09:00
Takashi Kokubun e43b3bb442
Skip running GitHub Actions on trunk 2019-08-10 19:28:10 +09:00
Takashi Kokubun 9b203959d5
Rename workflow.yml to macos.yml
to allow having other workflows separately, and configure `name` to
simplify a tooltip label on GitHub.
2019-08-10 19:19:25 +09:00
Takashi Kokubun 49f88eb2f1
Try building workflow on push 2019-08-10 09:34:13 +09:00
Aaron Patterson cb390e87dc
Add more runners
Closes: https://github.com/ruby/ruby/pull/2327
2019-08-09 13:15:18 +09:00
Aaron Patterson 54bdfe27f3
Run macOS tests on GitHub Actions
This commit sets up the CI integration on GitHub Actions.  We should
give it a try because queue times are lower and I think we get more
CPUs.

Closes: https://github.com/ruby/ruby/pull/2327

Co-Authored-By: John Hawthorn <john@hawthorn.email>
2019-08-09 13:15:12 +09:00
Aaron Patterson c7acb37248
Enable GitHub Actions on Ruby
This just enables GitHub actions on our repository so we can try it out.
2019-08-08 11:29:15 -07:00