From c950ab73432e09db9ab71e11655f511f32a9c90b Mon Sep 17 00:00:00 2001 From: Tom Hendrikx Date: Wed, 11 Oct 2023 17:27:06 +0200 Subject: [PATCH] Update test routine Minitest no longer uses the `MiniTest` with capital `T` since forever --- .github/workflows/run_tests.yml | 4 ++-- test/test.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index db028b5..f178628 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -1,6 +1,6 @@ on: [push] jobs: - build: + test: runs-on: ubuntu-latest steps: @@ -9,6 +9,6 @@ jobs: submodules: true - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1 + ruby-version: 3.2 - run: gem install jls-grok minitest - run: ruby test/test.rb diff --git a/test/test.rb b/test/test.rb index c807aca..0cf9bd9 100644 --- a/test/test.rb +++ b/test/test.rb @@ -12,7 +12,7 @@ # It creates test cases from all yaml files in the current # directory. -class TestGrokPatterns < MiniTest::Test +class TestGrokPatterns < Minitest::Test @@test_dir = File.dirname(__FILE__) @@upstream_pattern_dir = @@test_dir + '/logstash-patterns-core/patterns/ecs-v1/'