Kazuhiro NISHIYAMA
55de0282da
Remove draft-release.yml [ci skip]
...
I thought default branch's workflow runs on any tags,
but it does not run for stable branches without draft-release.yml.
So I abandoned, and use workflow in ruby/actions instead.
2019-10-01 21:26:54 +09:00
Benoit Daloze
59060aadea
Run test-unit tests in CI
2019-09-30 00:16:11 +02:00
Benoit Daloze
d090e449ef
Exclude the test-unit bundled gem tests since they also fail since the Time#inspect change
...
* See https://github.com/test-unit/test-unit/issues/165
2019-09-29 13:57:54 +02:00
Benoit Daloze
e3b11566bf
Remove continue-on-error for test-bundled-gems
...
* Otherwise, it takes a very long time to notice those tests broke.
2019-09-29 13:57:54 +02:00
Hiroshi SHIBATA
c8f7168653
Revert the accidentally commits related GitHub Actions
2019-09-26 19:22:30 +09:00
Hiroshi SHIBATA
ad638a713a
[rubygems/rubygems] Added jruby to matrix
...
https://github.com/rubygems/rubygems/commit/0832c079c8
2019-09-26 17:48:01 +09:00
Hiroshi SHIBATA
769a28d7dc
[rubygems/rubygems] Removed 2.2
...
https://github.com/rubygems/rubygems/commit/7fd2460f76
2019-09-26 17:48:01 +09:00
Hiroshi SHIBATA
ba8fb735cb
[rubygems/rubygems] Added rvm workflow for Ruby 2.2 and 2.7
...
https://github.com/rubygems/rubygems/commit/d4ba75dfd2
2019-09-26 17:48:01 +09:00
Hiroshi SHIBATA
01c90f17d9
[rubygems/rubygems] Removed the needless configurations
...
https://github.com/rubygems/rubygems/commit/7134c49179
2019-09-26 17:48:01 +09:00
Hiroshi SHIBATA
f5248f6f50
[rubygems/rubygems] Added the initial workflow file.
...
https://github.com/rubygems/rubygems/commit/6405a1e51a
2019-09-26 17:48:01 +09:00
Kazuhiro NISHIYAMA
a1dcb9daa5
Rename from ruby-x.y.z.ext.draft to ruby-x.y.z-draft.ext [ci skip]
2019-09-24 21:52:23 +09:00
Kazuhiro NISHIYAMA
a0ce0b6297
Add `if: always()` because 2.4.x's `make check` failed on snapshot [ci skip]
...
`check-snapshot-ruby_2_4` uses `make test` instead of `make check`.
95692e54f4/.github/workflows/snapshot.yml (L448-L449)
`draft-release` use `make check` to make it simple, and
actions is required regardless of success or failure.
On the other hand, snapshot success can be ignored,
so normally it should not fail.
2019-09-22 10:11:51 +09:00
Kazuhiro NISHIYAMA
9fb9f2d318
Add draft-release.yml [ci skip]
...
Make draft release packages. (Release packages are official after tests and release announce.)
- Copy from ruby/actions
- Change trigger tags from `draft/v*` to `v*` (I use `draft/v*` on ruby/actions because I want to avoid to cause trouble with shell history on working directory of ruby/ruby.)
- Change secrets names because secrets are repository local and use different names between ruby/ruby and ruby/actions.
2019-09-19 12:47:09 +09:00
Kazuhiro NISHIYAMA
0785469a40
`brew install` may fail, so try to use `tool/travis_retry.sh`
...
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
```
2019-09-17 18:02:03 +09:00
Kazuhiro NISHIYAMA
3c162df9d4
Dump some information
2019-09-13 13:44:03 +09:00
Kazuhiro NISHIYAMA
9f86e5ecb6
Moved coverage.yml to https://github.com/ruby/actions [ci skip]
2019-09-12 18:28:46 +09:00
Kazuhiro NISHIYAMA
fba5bbc695
Moved doxygen.yml to https://github.com/ruby/actions [ci skip]
2019-09-11 23:39:36 +09:00
Kazuhiro NISHIYAMA
489676bd20
Add `--no-progress` to `aws s3` [ci skip]
...
https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html
> --no-progress (boolean) File transfer progress is not displayed. This flag is only applied when the quiet and only-show-errors flags are not provided.
2019-09-11 09:35:06 +09:00
Kazuhiro NISHIYAMA
c725a4e48f
Check github.repository in doxygen.yml [ci skip]
2019-09-07 14:03:29 +09:00
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