From 06c4eda62983334842522505252b449b7b266606 Mon Sep 17 00:00:00 2001 From: Dominik Gedon Date: Wed, 26 Feb 2025 13:23:56 +0100 Subject: [PATCH 1/4] CI: Add tests with Ruby 3.4 Signed-off-by: Dominik Gedon --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b6b4c5..5bdf278 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,7 +35,7 @@ jobs: matrix: os: [ubuntu-latest] # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' - ruby: ['3.1', '3.2', '3.3'] + ruby: ['3.1', '3.2', '3.3', '3.4'] runs-on: ${{ matrix.os }} steps: - name: Checkout From c5380dc1078ada9f9332757bd7a29212270ec8ea Mon Sep 17 00:00:00 2001 From: Dominik Gedon Date: Wed, 26 Feb 2025 13:29:03 +0100 Subject: [PATCH 2/4] Update `Gemfile.lock` for Ruby 3.4 testing Signed-off-by: Dominik Gedon --- Gemfile.lock | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c5cd96b..36673c0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,13 +18,13 @@ GEM cucumber (>= 1.1.1) rspec-expectations (>= 2.7.0) ast (2.4.2) - bigdecimal (3.1.8) + bigdecimal (3.1.9) builder (3.3.0) - cgi (0.4.1) + cgi (0.4.2) childprocess (5.1.0) logger (~> 1.5) clamp (1.3.2) - cucumber (9.2.0) + cucumber (9.2.1) builder (~> 3.2) cucumber-ci-environment (> 9, < 11) cucumber-core (> 13, < 14) @@ -45,30 +45,30 @@ GEM bigdecimal cucumber-gherkin (27.0.0) cucumber-messages (>= 19.1.4, < 23) - cucumber-html-formatter (21.7.0) - cucumber-messages (> 19, < 27) + cucumber-html-formatter (21.9.0) + cucumber-messages (> 19, < 28) cucumber-messages (22.0.0) - cucumber-tag-expressions (6.1.1) - diff-lcs (1.5.1) + cucumber-tag-expressions (6.1.2) + diff-lcs (1.6.0) docile (1.4.1) erb (4.0.4) cgi (>= 0.3.3) - ffi (1.17.0) - ffi (1.17.0-aarch64-linux-gnu) - ffi (1.17.0-aarch64-linux-musl) - ffi (1.17.0-arm-linux-gnu) - ffi (1.17.0-arm-linux-musl) - ffi (1.17.0-arm64-darwin) - ffi (1.17.0-x86-linux-gnu) - ffi (1.17.0-x86-linux-musl) - ffi (1.17.0-x86_64-darwin) - ffi (1.17.0-x86_64-linux-gnu) - ffi (1.17.0-x86_64-linux-musl) + ffi (1.17.1) + ffi (1.17.1-aarch64-linux-gnu) + ffi (1.17.1-aarch64-linux-musl) + ffi (1.17.1-arm-linux-gnu) + ffi (1.17.1-arm-linux-musl) + ffi (1.17.1-arm64-darwin) + ffi (1.17.1-x86-linux-gnu) + ffi (1.17.1-x86-linux-musl) + ffi (1.17.1-x86_64-darwin) + ffi (1.17.1-x86_64-linux-gnu) + ffi (1.17.1-x86_64-linux-musl) json (2.10.1) json_pure (2.8.1) language_server-protocol (3.17.0.4) lint_roller (1.1.0) - logger (1.6.4) + logger (1.6.6) mini_mime (1.1.5) multi_test (1.1.0) open4 (1.3.4) @@ -85,7 +85,7 @@ GEM rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.2) + rspec-core (3.13.3) rspec-support (~> 3.13.0) rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) @@ -152,4 +152,4 @@ DEPENDENCIES tetra! BUNDLED WITH - 2.6.1 + 2.6.5 From 1e664363de07bc9e5a29fcef1d9372f1d33234d9 Mon Sep 17 00:00:00 2001 From: Dominik Gedon Date: Wed, 26 Feb 2025 13:51:31 +0100 Subject: [PATCH 3/4] CI: Add required Codecov token Signed-off-by: Dominik Gedon --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5bdf278..4283a86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,3 +57,5 @@ jobs: bundle exec rake - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} From 1f1a2fd0f88ecc92811dd09e332073fcd55ad17f Mon Sep 17 00:00:00 2001 From: Dominik Gedon Date: Wed, 26 Feb 2025 14:39:36 +0100 Subject: [PATCH 4/4] CI: Add code coverage dirctory Signed-off-by: Dominik Gedon --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4283a86..9b9a999 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,3 +59,4 @@ jobs: uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} + directory: ./coverage