Kazuhiro NISHIYAMA
7a2bd91ed2
Try to fix `invalid option`
...
https://github.com/ruby/ruby/runs/212727409#step:11:67
```
invalid option: -j5
```
2019-09-05 17:51:02 +09:00
Kazuhiro NISHIYAMA
f4df9fb46b
Change name to `Tests (test-bundled-gems)` in macos.yml too
2019-09-05 17:47:51 +09:00
Kazuhiro NISHIYAMA
ccad34f453
Add TEST_BUNDLED_GEMS_ALLOW_FAILURES=minitest
2019-09-04 12:51:39 +09:00
Kazuhiro NISHIYAMA
1e30d0af7d
`$JOBS` does not set in `env:`
2019-09-04 12:03:28 +09:00
Kazuhiro NISHIYAMA
b0d0b850bc
Use RUBY_TESTOPTS instead of TESTOPTS
...
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-09-04 11:50:37 +09:00
Takashi Kokubun
7cb19b3f5b
Roughly retry choco install commands
...
to deal with random failures:
https://github.com/ruby/ruby/runs/210617845
2019-09-03 21:03:11 +09:00
Kazuhiro NISHIYAMA
36a0c668b6
Remove SKIP_DOXYGEN because job.env does not set in `if:`
2019-09-03 18:36:08 +09:00
Kazuhiro NISHIYAMA
624a0ad44d
Use `set-env` instead of `grep` in each step
2019-08-28 10:07:54 +09:00
Kazuhiro NISHIYAMA
108dbb389b
Use JOBS again like macos.yml
2019-08-28 09:45:31 +09:00
Kazuhiro NISHIYAMA
330c2f7597
Change name to `Tests (test-bundled-gems)`
2019-08-28 09:41:14 +09:00
Kazuhiro NISHIYAMA
230f405479
Add name to autoconf
2019-08-28 09:38:52 +09:00
Kazuhiro NISHIYAMA
17c0ce3798
Remove GITHUB_SHA from jobs.<job_id>.steps.env
...
because default value overrides it.
https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
2019-08-28 09:20:07 +09:00
Kazuhiro NISHIYAMA
767992329e
Allow missing projectnumber [ci skip]
2019-08-28 09:15:40 +09:00
Kazuhiro NISHIYAMA
d4de5e6459
Show projectnumber in current index.html and GITHUB_SHA
2019-08-28 09:13:43 +09:00
Kazuhiro NISHIYAMA
cbcad66741
Fix doxygen action
...
- Fix checkout error: `fatal: destination path '.' already exists and is not an empty directory.`
- Remove `GITHUB_SHA` in env, because set automatically
https://help.github.com/en/articles/virtual-environments-for-github-actions#environment-variables
- Change minute from 0 to 20 for test soon
2019-08-28 02:16:28 +09:00
Kazuhiro NISHIYAMA
71e5871c3b
Run on schedule only and skip if not modified
2019-08-28 01:48:40 +09:00
Takashi Kokubun
dd032a5fb4
Make doxygen / coverage torelant to clone race
...
a little.
Doing both `git clone --depth=1` and `git reset --hard ${sha}` does not
make sense (the latter command either does nothing or just fails), so I
added non-1 value as a depth.
Maybe we don't need depth=50 for pull_request and schedule, so it's 10
for now.
2019-08-28 00:16:16 +09:00
Takashi Kokubun
4209066f0e
Drop more unused configs from doxygen and coverage
...
workflows, because mame said he has never seen it.
2019-08-27 23:52:43 +09:00
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