Skip to content

Commit

Permalink
chore: reduce testing madness
Browse files Browse the repository at this point in the history
update nightly to a 4 hour cron
reduce all combinations of testing version to avoid playing whac-a-mole
with flaky tests
  • Loading branch information
mikesmithgh committed Jan 2, 2024
1 parent 2ff01b8 commit 25071d5
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 51 deletions.
43 changes: 24 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,34 +17,39 @@ on:
type: boolean
default: false
schedule:
# daily 9AM EST
- cron: "0 14 * * *"
# every 4 hours
- cron: "0 */4 * * *"

jobs:
plenary:
strategy:
matrix:
nvim_version:
- 'v0.9.0'
- 'v0.9.1'
- 'v0.9.2'
# 'v0.9.3' does not exist, this was an issue with neovim macos release
- 'v0.9.4'
- 'v0.9.5'
- 'stable' # v0.9.5
- 'nightly'
kitty_version:
- '0.29.0'
- '0.29.1'
- '0.29.2'
- '0.30.0'
- '0.30.1'
- '0.31.0'
- 'stable' # 0.31.0
- 'nightly'
include:
- nvim_version: 'nightly'
kitty_version: 'nightly'
- nvim_version: 'stable'
kitty_version: 'nightly'
- nvim_version: 'nightly'
- nvim_version: 'v0.9.0'
kitty_version: 'stable'
- nvim_version: 'v0.9.1'
kitty_version: 'stable'
- nvim_version: 'v0.9.2'
kitty_version: 'stable'
# nvim 'v0.9.3' does not exist, this was an issue with neovim macos release
- nvim_version: 'v0.9.4'
kitty_version: 'stable'
- nvim_version: 'stable'
kitty_version: '0.29.0'
- nvim_version: 'stable'
kitty_version: '0.29.1'
- nvim_version: 'stable'
kitty_version: '0.29.2'
- nvim_version: 'stable'
kitty_version: '0.30.0'
- nvim_version: 'stable'
kitty_version: '0.30.1'
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ sh -c "$(curl -s https://raw.githubusercontent.com/mikesmithgh/kitty-scrollback.
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
event = { 'User KittyScrollbackLaunch' },
-- version = '*', -- latest stable version, may have breaking changes if major version changed
-- version = '^2.0.0', -- pin major version, include fixes and features that do not have breaking changes
-- version = '^3.0.0', -- pin major version, include fixes and features that do not have breaking changes
config = function()
require('kitty-scrollback').setup()
end,
Expand All @@ -195,7 +195,7 @@ sh -c "$(curl -s https://raw.githubusercontent.com/mikesmithgh/kitty-scrollback.
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
event = { 'User KittyScrollbackLaunch' },
-- tag = '*', -- latest stable version, may have breaking changes if major version changed
-- tag = 'v2.0.0', -- pin specific tag
-- tag = 'v3.0.0', -- pin specific tag
config = function()
require('kitty-scrollback').setup()
end,
Expand Down
4 changes: 2 additions & 2 deletions doc/kitty-scrollback.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ INSTALLATION *kitty-scrollback.nvim-installation*
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
event = { 'User KittyScrollbackLaunch' },
-- version = '*', -- latest stable version, may have breaking changes if major version changed
-- version = '^2.0.0', -- pin major version, include fixes and features that do not have breaking changes
-- version = '^3.0.0', -- pin major version, include fixes and features that do not have breaking changes
config = function()
require('kitty-scrollback').setup()
end,
Expand All @@ -163,7 +163,7 @@ INSTALLATION *kitty-scrollback.nvim-installation*
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth' },
event = { 'User KittyScrollbackLaunch' },
-- tag = '*', -- latest stable version, may have breaking changes if major version changed
-- tag = 'v2.0.0', -- pin specific tag
-- tag = 'v3.0.0', -- pin specific tag
config = function()
require('kitty-scrollback').setup()
end,
Expand Down
38 changes: 12 additions & 26 deletions scripts/internal/__branch-protection-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,19 @@
"contexts": [
"style",
"codespell",
"plenary (v0.9.0, 0.29.0)",
"plenary (v0.9.0, 0.29.1)",
"plenary (v0.9.0, 0.29.2)",
"plenary (v0.9.0, 0.30.0)",
"plenary (v0.9.0, 0.30.1)",
"plenary (v0.9.0, 0.31.0)",
"plenary (v0.9.1, 0.29.0)",
"plenary (v0.9.1, 0.29.1)",
"plenary (v0.9.1, 0.29.2)",
"plenary (v0.9.1, 0.30.0)",
"plenary (v0.9.1, 0.30.1)",
"plenary (v0.9.1, 0.31.0)",
"plenary (v0.9.2, 0.29.0)",
"plenary (v0.9.2, 0.29.1)",
"plenary (v0.9.2, 0.29.2)",
"plenary (v0.9.2, 0.30.0)",
"plenary (v0.9.2, 0.30.1)",
"plenary (v0.9.2, 0.31.0)",
"plenary (v0.9.4, 0.29.0)",
"plenary (v0.9.4, 0.29.1)",
"plenary (v0.9.4, 0.29.2)",
"plenary (v0.9.4, 0.30.0)",
"plenary (v0.9.4, 0.30.1)",
"plenary (v0.9.4, 0.31.0)",
"plenary (nightly, nightly)",
"plenary (stable, stable)",
"plenary (stable, nightly)",
"plenary (nightly, stable)",
"plenary (stable, nightly)"
"plenary (nightly, nightly)",
"plenary (v0.9.0, stable)",
"plenary (v0.9.1, stable)",
"plenary (v0.9.2, stable)",
"plenary (v0.9.4, stable)",
"plenary (stable, 0.29.0)",
"plenary (stable, 0.29.1)",
"plenary (stable, 0.29.2)",
"plenary (stable, 0.30.0)",
"plenary (stable, 0.30.1)"
]
},
"enforce_admins": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -679,15 +679,15 @@ Press ENTER or type command to continue
h.assert_screen_equals(
h.feed_kitty({
h.with_pause_seconds_before(h.send_without_newline([[a]])),
h.send_without_newline(h.send_as_string([[
h.with_pause_seconds_before(h.send_without_newline(h.send_as_string([[
# example > --no-nvim-args -c 'colorscheme darkblue'
Yo, listen up here's a story
About a little guy
That lives in a blue world
And all day and all night
And everything he sees is just blue
Like him inside and outside
]])),
]]))),
h.send_without_newline(h.esc()),
h.send_without_newline(h.send_as_string([[gg0]])),
h.send_as_string([[:colorscheme]]),
Expand Down

0 comments on commit 25071d5

Please sign in to comment.