321 Commits

Author SHA1 Message Date
Mike McQuaid
e2759fbdff
Deprecate reading all formulae through commands
We added the `--all` flag (now renamed to `--eval-all`) for various
commands for this behaviour so let's start deprecating this.

Also, introduce a `HOMEBREW_EVAL_ALL` environment variable to use the
existing, less secure, behaviour by default and avoid passing
`--eval-all` everywhere.
2022-09-05 13:57:22 +01:00
Bo Anderson
96dfa631db
workflows/tests: drop Homebrew/linux-dev checks
Homebrew/linux-dev is effectively deprecated and is due for archival.
2022-06-17 19:47:58 +01:00
dependabot[bot]
9a9704a96e
build(deps): bump codecov/codecov-action from 3.0.0 to 3.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](e3c560433a...81cd2dc814)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 18:04:00 +00:00
dependabot[bot]
f1dd00071a
build(deps): bump codecov/codecov-action from 2.1.0 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.1.0 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](f32b3a3741...e3c560433a)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 18:03:50 +00:00
Mike McQuaid
b09f421027
repology: always use Homebrew curl.
This seems to be required even with TLSv1.3 support now.

Also, while we're here, improve the error handling/output.
2022-01-03 13:17:12 +00:00
Bo Anderson
f7185f1454
workflows: remove outdated Xcode switch 2021-12-06 18:28:53 +00:00
Bo Anderson
093b3a739b
workflows/tests: limit coverage file uploads 2021-11-25 21:50:51 +00:00
EricFromCanada
5b47c6540c
tests.yml: resume preinstalling subversion 2021-11-09 15:27:05 -05:00
EricFromCanada
e5109681c8
tests.yml: no more need for preinstalled subversion 2021-11-09 14:00:55 -05:00
Michka Popoff
1cc7ca33c0
update: migrate everyone from linuxbrew-core to homebrew-core
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-10-20 11:01:38 +01:00
EricFromCanada
541b9556f8
tests.yml: install curl on macOS for TLS 1.3 support 2021-10-19 17:01:42 -04:00
Bo Anderson
e3b760289f
Merge pull request #12063 from Homebrew/workflow-permissions
workflows: reduce GITHUB_TOKEN permissions
2021-09-16 15:15:55 +01:00
XuehaiPan
c2d5d84b21 Merge remote-tracking branch 'upstream/master' into fix-inconsistent-shell-style 2021-09-16 01:01:49 +08:00
Bo Anderson
f38a3239e6
workflows: reduce GITHUB_TOKEN permissions 2021-09-15 15:10:11 +01:00
XuehaiPan
3f96d963f7 style: fix inconsistent code style for shell scripts 2021-09-15 14:59:01 +08:00
dependabot[bot]
96e7c65a00
build(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](5a8bb4701e...f32b3a3741)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 10:12:45 +00:00
dependabot[bot]
207266a940
build(deps): bump codecov/codecov-action from 2.0.2 to 2.0.3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](51d810878b...5a8bb4701e)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-24 18:02:18 +00:00
dependabot[bot]
53b399db1f
build(deps): bump codecov/codecov-action from 2.0.1 to 2.0.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](c585afe366...51d810878b)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 18:02:35 +00:00
dependabot[bot]
637ece373b
build(deps): bump codecov/codecov-action from 1.5.2 to 2.0.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.2 to 2.0.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](29386c70ef...c585afe366)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 18:03:11 +00:00
Mike McQuaid
a3f96689f0
workflows/tests: enable concurrency limiting.
Let's cancel in-progress builds on the same PR.
2021-07-08 15:09:34 +01:00
Mike McQuaid
d490e2a9a7
Fix BuildPulse handling
- be more verbose with output to be clear when we're using/submitting to
  BuildPulse
- remove the duplicate BuildPulse submission step
2021-06-30 09:20:56 +01:00
Mike McQuaid
a4c2e0e1b3
Tweak BuildPulse/rspec-retry logic
BuildPulse is trying to find flaky tests for us but, given the previous
model of using `rspec-retry`, it would rarely find them. Instead, let's
try to always rerun `brew tests` multiple times, report to BuildPulse
each time (by moving the reporting logic into `brew tests`) and disable
`rspec-retry` when using BuildPulse.

While we're here, let's enable `rspec-retry` locally so we don't have
flaky tests biting maintainers/contributors there.
2021-06-29 12:43:47 +01:00
Jason Rudolph
ee17ab0ee9
Upload results to BuildPulse for non-PR pushes 2021-06-23 09:01:29 -04:00
Mike McQuaid
5379ff15b8
workflows/tests: use buildpulse-test-reporter formula. 2021-06-23 10:38:12 +01:00
Jason Rudolph
0eec1d5e57
Only send to BuildPulse when we have access to secrets
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-22 10:31:25 -04:00
Jason Rudolph
006299dcc1
Update job to send macOS test results to BuildPulse for analysis 2021-06-21 13:55:09 -04:00
Sam Ford
affa5c9e44
Exclude version audit on CI 2021-06-16 10:30:54 -04:00
Bo Anderson
a06d136d2c
Move Sorbet gems into an optional group 2021-06-11 08:10:30 +01:00
dependabot[bot]
6ae1e670d6
build(deps): bump codecov/codecov-action from 1.5.0 to 1.5.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](a1ed4b322b...29386c70ef)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 05:24:02 +00:00
dependabot[bot]
ef153c7554
build(deps): bump codecov/codecov-action
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 967e2b38a85a62bd61be5529ada27ebc109948c2 to 1.5.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](967e2b38a8...a1ed4b322b)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-04 05:55:56 +00:00
Mike McQuaid
9614927400
github/workflows/tests: add more needs: syntax
Make more of the longer (i.e. >5m) jobs require the `syntax` job to have
completed. These jobs are so much quicker than the macOS job so that
this will not slow down the overall CI run while avoiding the run of
some jobs if `syntax` fails.
2021-04-23 14:30:37 +01:00
Mike McQuaid
c6a9227e08
More official Homebrew taps
Make `brew alias`, `brew autoupdate` and `brew command-not-found-init`
official commands. This means we:
- make sure we don't break their style with `brew style` changes
- autotap them when you run the command and they aren't installed
- include them in the manpage
2021-04-23 13:43:55 +01:00
Tom Hu
204fa5c75f
Bump Codecov action to 1.4.1 2021-04-20 14:10:43 -04:00
Mike McQuaid
7a78e3b9cd
Merge pull request #11192 from Rylan12/simulate-macos-for-style
workflows/tests: simulate macOS for `brew style homebrew-core`
2021-04-20 12:17:17 +01:00
Rylan Polster
9a69773640
workflows/tests: simulate macOS for brew style homebrew-core 2021-04-19 14:09:19 -04:00
dependabot[bot]
50e74b35e0
build(deps): bump codecov/codecov-action
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 9b0b9bbe2c64e9ed41413180dd7398450dfeee14 to 1.4.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](9b0b9bbe2c...0e28ff86a5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 07:25:25 +00:00
Mike McQuaid
75592cbebc
Better handle brew bottle --only-json-tab bottles
- test them in `brew test-bot` (before we do so in homebrew/core)
- don't fail if we cannot find the tab/install receipt in a bottle
- cache listing the files in a bottle so we don't do it more times than
  necessary
- fix resolution of version and formula names from a bottle if we're
  getting them from a bottle without a tab/install receipt

This will need to be in a tagged release before we can ship tab-less
bottles to users.
2021-04-13 14:26:31 +01:00
Mike McQuaid
55223555ba
Merge pull request #10989 from hyuraku/paralell_tests_cache_on_ci
cache parallel tests log on ci
2021-04-08 08:46:19 +01:00
hyuraku
7f3ad67058 repair restore key 2021-04-08 09:43:50 +09:00
hyuraku
9476ba2d2f repair cache key and add restore key 2021-04-06 23:01:42 +09:00
Mike McQuaid
09121244b4
github/workflows: use Homebrew/brew-specific packages token. 2021-04-06 10:22:51 +01:00
hyuraku
3c308aa031 create different tests log with each options 2021-04-06 09:38:37 +09:00
dependabot[bot]
bf4e83e2ab
build(deps): bump codecov/codecov-action
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from fcebab03f26c7530a22baa63f06b3e0515f0c7cd to 1.3.2. This release includes the previously tagged commit.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](fcebab03f2...9b0b9bbe2c)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 00:15:43 +00:00
hyuraku
5366bc197c repair tests order 2021-04-05 22:39:15 +09:00
Bo Anderson
6eebcf46f7
workflows/tests: remove version comments
Dependabot doesn't bump them
2021-04-05 12:50:41 +01:00
dependabot[bot]
c3db192831
build(deps): bump codecov/codecov-action
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from e156083f13aff6830c92fc5faa23505779fbf649 to 1.3.1. This release includes the previously tagged commit.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](e156083f13...fcebab03f2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-05 06:52:40 +00:00
hyuraku
7fbe08e857 add a directory for test log 2021-04-03 19:03:35 +09:00
hyuraku
854b898856 change test log path 2021-04-03 18:45:46 +09:00
hyuraku
c0dc5cae68 repair cache key 2021-04-03 18:45:46 +09:00
hyuraku
603c607d58 change order of caching test log 2021-04-03 18:45:46 +09:00