24645 Commits

Author SHA1 Message Date
Steve Peters
432e762e9b Only deprecate "brew list" without arguments
It was deprecated in 2.5.7 to accompany the deprecation
of "brew cask" commands, so wait to disable it until
"brew cask" commands are disabled as well.
2020-11-30 17:09:15 -08:00
Jonathan Chang
0d058666d8 formula: widen type for system args
We can pass Integers here too, for e.g. make flags

```
TypeError: Parameter 'args': Expected type T.any(Pathname, String), got type Integer with value 4
Caller: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/pypy.rb:68
Definition: /usr/local/Homebrew/Library/Homebrew/formula.rb:1985
```
2020-12-01 01:20:18 +01:00
Rylan Polster
b3b6ce77d8 utils/pypi: avoid creating new string objects
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-12-01 01:19:33 +01:00
Rylan Polster
4bfb390577 utils/pypi: make package name comparison case-insensitive 2020-12-01 01:19:33 +01:00
linzichao
058a1c3645 add verified parameter in url 2020-12-01 01:17:21 +01:00
Markus Reiter
58f279c72a
Merge pull request #9355 from reitermarkus/rubocop-fixes
Fix RuboCop offenses.
2020-12-01 01:15:02 +01:00
Rylan Polster
0c41d374c9 style: add tests for provided_by_macos and style_exceptions 2020-11-30 18:18:51 -05:00
Rylan Polster
f8ff0f465f tap: add tests for formula list methods 2020-11-30 18:18:50 -05:00
Rylan Polster
ba63619f8e tests: remove final reference to formula_exist 2020-11-30 18:18:50 -05:00
Rylan Polster
11a5e522ea rubocop: don't rely on ActiveSupport 2020-11-30 18:18:50 -05:00
Rylan Polster
c181c9995e style: add --reset-cache option 2020-11-30 18:18:50 -05:00
Rylan Polster
2256e547d9 Remove unneeded "formulae exist" test 2020-11-30 18:18:50 -05:00
Rylan Polster
44bfbd0112 Migrate uses_from_macos style lists 2020-11-30 18:18:50 -05:00
Rylan Polster
a09613543a Migrate REGEX_CASE_SENSITIVE_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
d59ce75d2a Migrate NOT_A_BINARY_URL_PREFIX_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
7a8dd36003 Migrate BINARY_BOOTSTRAP_FORMULA_URLS_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
1dbbcfd1d6 Migrate COMPONENTS_ORDER_EXCEPTIONS 2020-11-30 18:18:50 -05:00
Rylan Polster
629ad219aa Migrate MAKE_CHECK_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
e823dd713e Migrate VERSIONED_FORMULAE_CONFLICTS_ALLOWLIST 2020-11-30 18:18:50 -05:00
Rylan Polster
80a46edee4 tap: add style_exceptions configuration 2020-11-30 18:18:49 -05:00
Maxim Belkin
6eb49907f0 cpu.rb: apply Mike's suggestions
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-11-30 16:18:19 -06:00
Maxim Belkin
97c9a952d3 Recognize AMD CPUs on Linux 2020-11-30 16:18:19 -06:00
Maxim Belkin
8738ad324e cpu.rb: clean up the list of CPU instructions
Co-authored-by: Shaun Jackman <sjackman@gmail.com>
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-11-30 16:17:00 -06:00
Markus Reiter
7d9758a05e Fix RuboCop offenses. 2020-11-30 22:50:15 +01:00
Markus Reiter
8fe91aacc3
Merge pull request #9311 from MikeMcQuaid/runner_os
workflows/tests: split out jobs.
2020-11-30 22:42:28 +01:00
Markus Reiter
c17d55201e Try using macos-latest for all jobs except tests. 2020-11-30 20:52:27 +01:00
Markus Reiter
10f2a39f9c Remove unneeded quotes. 2020-11-30 20:52:27 +01:00
Mike McQuaid
7561130904 workflows/tests: style tweaks. 2020-11-30 20:52:27 +01:00
Markus Reiter
f61d1101a1 Add vendored-gems to conclusion needs. 2020-11-30 20:52:27 +01:00
Markus Reiter
9477b8648f Add vendored-gems step. 2020-11-30 20:52:27 +01:00
Markus Reiter
da8d91bd05 Fix .simplecov exit status for integration tests. 2020-11-30 20:52:27 +01:00
Markus Reiter
81203d346c Make brew help cat test stricter. 2020-11-30 20:52:27 +01:00
Markus Reiter
a768859150 Try uploading coverage for all configurations. 2020-11-30 20:52:27 +01:00
Markus Reiter
e26311236f Ensure brew cat output is empty on failure. 2020-11-30 20:52:27 +01:00
Markus Reiter
f438fa98be Avoid reinstalling bundler in integration tests. 2020-11-30 20:52:27 +01:00
Markus Reiter
0716d0bf28 Don't output “Installing 'bundler' gem” to $stdout. 2020-11-30 20:52:27 +01:00
Markus Reiter
8298f95677 Increase timeout for integration tests. 2020-11-30 20:52:27 +01:00
Markus Reiter
df436e331d Fix .simplecov. 2020-11-30 20:52:27 +01:00
Markus Reiter
3a1ad9334f Reword job name. 2020-11-30 20:52:27 +01:00
Markus Reiter
75c637d0d3 Always run conclusion. 2020-11-30 20:52:27 +01:00
Markus Reiter
2c34167131 Check for --coverage flag. 2020-11-30 20:52:27 +01:00
Markus Reiter
d404992676 Reorder jobs. 2020-11-30 20:52:27 +01:00
Markus Reiter
de280c4192 Don't wait for syntax job. 2020-11-30 20:52:27 +01:00
Markus Reiter
7ab22826b2 Add conclusion step to be used as required check. 2020-11-30 20:52:27 +01:00
Markus Reiter
fb59f6a12c Merge brew-tests and brew-tests-coverage. 2020-11-30 20:52:27 +01:00
Mike McQuaid
5f42fd9545 workflows/tests: split out jobs.
Separate out the slow parts of tests into jobs that can be run in
parallel.

Also:
- general refactoring from YAML linter.
- don't build on `macOS-latest` now that Big Sur is the latest stable
  release.
- Use `runner.os` when it improves readability over `matrix.os`.
2020-11-30 20:52:27 +01:00
Markus Reiter
7afaebc7f8
Merge pull request #9349 from reitermarkus/style-spec
Add missing `require`s for `style` spec.
2020-11-30 20:50:50 +01:00
Mike McQuaid
49054b4457
Merge pull request #9352 from MikeMcQuaid/more_active_support
global: add more active_support includes.
2020-11-30 17:21:32 +00:00
Mike McQuaid
f496ef685f
Merge pull request #9348 from MikeMcQuaid/harmless-system-frameworks
linkage_checker: system framework links are harmless.
2020-11-30 16:58:29 +00:00
Mike McQuaid
8b82c2fd67
Merge pull request #9330 from mistydemeo/allow_sdk_mismatches
SDK: allow SDK mismatches if major version matches
2020-11-30 16:48:03 +00:00