Skip to content

Commit 20d2e9f

Browse files
authored
Update for Ruby 4 (#3848)
1 parent e810bca commit 20d2e9f

File tree

7 files changed

+66
-13
lines changed

7 files changed

+66
-13
lines changed

.changeset/healthy-days-hide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/view-components": patch
3+
---
4+
5+
Add support for Ruby 4 in test suite.

.github/workflows/test-accessibility.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ concurrency:
1515
group: test-accessibility-${{ github.head_ref || github.run_id }}
1616
cancel-in-progress: true
1717

18+
env:
19+
FERRUM_PROCESS_TIMEOUT: 30
20+
1821
jobs:
1922
accessibility:
2023
name: Accessibility

.github/workflows/test-selectors.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ concurrency:
1010
group: test-selectors-${{ github.head_ref || github.run_id }}
1111
cancel-in-progress: true
1212

13+
env:
14+
FERRUM_PROCESS_TIMEOUT: 30
15+
1316
jobs:
1417
selectors:
1518
name: CSS coverage

package-lock.json

Lines changed: 50 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/performance/bench_classify.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def setup
4040
end
4141

4242
def bench_allocations
43-
assert_allocations "3.4" => 7, "3.3" => 7, "3.2" => 6, "3.1" => 6, "3.0" => 6, "2.7" => 4 do
43+
assert_allocations "4.0" => 7, "3.4" => 7, "3.3" => 7, "3.2" => 6, "3.1" => 6, "3.0" => 6, "2.7" => 4 do
4444
Primer::Classify.call(**@values)
4545
end
4646
end

0 commit comments

Comments
 (0)