From 4db2cf00bed4ecfb57988e53f66cd849c67fe8c2 Mon Sep 17 00:00:00 2001 From: Rasmus Wejlgaard Date: Sun, 19 Apr 2026 17:31:30 +0100 Subject: [PATCH 1/3] debian, opensuse and rocky (centos) tests --- .github/workflows/pr-test.yml | 3 +++ tests/Dockerfile-debian | 9 +++++++++ tests/Dockerfile-opensuse | 9 +++++++++ tests/Dockerfile-rocky | 10 ++++++++++ 4 files changed, 31 insertions(+) create mode 100644 tests/Dockerfile-debian create mode 100644 tests/Dockerfile-opensuse create mode 100644 tests/Dockerfile-rocky diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index ea73335..7d923c4 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -13,7 +13,10 @@ jobs: distro: - alpine - archlinux + - debian - fedora + - opensuse + - rocky - ubuntu runs-on: ubuntu-latest steps: diff --git a/tests/Dockerfile-debian b/tests/Dockerfile-debian new file mode 100644 index 0000000..191e331 --- /dev/null +++ b/tests/Dockerfile-debian @@ -0,0 +1,9 @@ +FROM debian:latest + +COPY ../. /workspace + +WORKDIR /workspace + +RUN apt install --update -y make sudo + +RUN make diff --git a/tests/Dockerfile-opensuse b/tests/Dockerfile-opensuse new file mode 100644 index 0000000..ca0f956 --- /dev/null +++ b/tests/Dockerfile-opensuse @@ -0,0 +1,9 @@ +FROM opensuse/leap:latest + +COPY ../. /workspace + +WORKDIR /workspace + +RUN zypper install -y make sudo + +RUN make diff --git a/tests/Dockerfile-rocky b/tests/Dockerfile-rocky new file mode 100644 index 0000000..404ebc2 --- /dev/null +++ b/tests/Dockerfile-rocky @@ -0,0 +1,10 @@ +FROM rockylinux:latest + +COPY ../. /workspace + +WORKDIR /workspace + +RUN dnf -y update +RUN dnf -y install make sudo + +RUN make From 965f5180f74b2b3cffbb63a32611f199c1c6e74c Mon Sep 17 00:00:00 2001 From: Rasmus Wejlgaard Date: Sun, 19 Apr 2026 17:43:19 +0100 Subject: [PATCH 2/3] use alma instead of rocky --- .github/workflows/pr-test.yml | 5 +++-- config/vim/init.lua | 2 +- tests/{Dockerfile-rocky => Dockerfile-alma} | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) rename tests/{Dockerfile-rocky => Dockerfile-alma} (81%) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 7d923c4..ecee378 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -12,11 +12,11 @@ jobs: matrix: distro: - alpine + - alma - archlinux - debian - fedora - opensuse - - rocky - ubuntu runs-on: ubuntu-latest steps: @@ -30,4 +30,5 @@ jobs: - name: Only build run: | - docker buildx build --platform linux/amd64 --output "type=image,push=false" -f tests/Dockerfile-${{ matrix.distro }} . \ No newline at end of file + docker buildx build --platform linux/amd64 --output "type=image,push=false" -f tests/Dockerfile-${{ matrix.distro }} . + diff --git a/config/vim/init.lua b/config/vim/init.lua index e39be3a..f23311a 100644 --- a/config/vim/init.lua +++ b/config/vim/init.lua @@ -117,7 +117,7 @@ local opts = { noremap = true, silent = true } -vim.api.nvim_set_keymap('n', 'tt', ':NvimTreeToggle', opts) +vim.api.nvim_set_keymap('n', 't', ':NvimTreeToggle', opts) vim.api.nvim_set_keymap('n', 'qqq', ':qall', opts) vim.api.nvim_set_keymap('n', '', ':Telescope find_files', opts) vim.api.nvim_set_keymap('n', '/', ':Rg', opts) diff --git a/tests/Dockerfile-rocky b/tests/Dockerfile-alma similarity index 81% rename from tests/Dockerfile-rocky rename to tests/Dockerfile-alma index 404ebc2..2fbcca5 100644 --- a/tests/Dockerfile-rocky +++ b/tests/Dockerfile-alma @@ -1,4 +1,4 @@ -FROM rockylinux:latest +FROM almalinux:latest COPY ../. /workspace From fe7dd08a6923d56418e4230057ebfcc7e254a94a Mon Sep 17 00:00:00 2001 From: Rasmus Wejlgaard Date: Sun, 19 Apr 2026 17:45:53 +0100 Subject: [PATCH 3/3] remove alma --- .github/workflows/pr-test.yml | 1 - tests/Dockerfile-alma | 10 ---------- 2 files changed, 11 deletions(-) delete mode 100644 tests/Dockerfile-alma diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index ecee378..b4b24ca 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -12,7 +12,6 @@ jobs: matrix: distro: - alpine - - alma - archlinux - debian - fedora diff --git a/tests/Dockerfile-alma b/tests/Dockerfile-alma deleted file mode 100644 index 2fbcca5..0000000 --- a/tests/Dockerfile-alma +++ /dev/null @@ -1,10 +0,0 @@ -FROM almalinux:latest - -COPY ../. /workspace - -WORKDIR /workspace - -RUN dnf -y update -RUN dnf -y install make sudo - -RUN make