From f52f9a9375d86e88b1c31047358187dfa7c16ddf Mon Sep 17 00:00:00 2001 From: Szymon Fiedler Date: Fri, 3 Jan 2025 16:41:10 +0100 Subject: [PATCH] Reduce noise and observe --- .github/workflows/aggregate_root_coverage.yml | 54 ------- .github/workflows/aggregate_root_mutate.yml | 62 -------- .github/workflows/aggregate_root_test.yml | 66 -------- .github/workflows/dres_client_test.yml | 58 ------- .github/workflows/dres_rails_test.yml | 95 ----------- .../minitest-ruby_event_store_coverage.yml | 54 ------- .../minitest-ruby_event_store_mutate.yml | 52 ------- .../minitest-ruby_event_store_test.yml | 56 ------- .../workflows/rails_event_store_coverage.yml | 54 ------- .../workflows/rails_event_store_mutate.yml | 62 -------- .github/workflows/rails_event_store_test.yml | 72 --------- ...uby_event_store-active_record_coverage.yml | 54 ------- .../ruby_event_store-active_record_mutate.yml | 62 -------- .../ruby_event_store-active_record_test.yml | 147 ------------------ .../ruby_event_store-browser_assets.yml | 49 ------ .../ruby_event_store-browser_coverage.yml | 54 ------- .../ruby_event_store-browser_mutate.yml | 62 -------- .../ruby_event_store-browser_test.yml | 77 --------- .../ruby_event_store-flipper_coverage.yml | 54 ------- .../ruby_event_store-flipper_mutate.yml | 52 ------- .../ruby_event_store-flipper_test.yml | 62 -------- .../ruby_event_store-newrelic_coverage.yml | 54 ------- .../ruby_event_store-newrelic_mutate.yml | 52 ------- .../ruby_event_store-newrelic_test.yml | 56 ------- .../ruby_event_store-outbox_coverage.yml | 67 -------- .../ruby_event_store-outbox_mutate.yml | 65 -------- .../ruby_event_store-outbox_test.yml | 15 +- .../ruby_event_store-profiler_coverage.yml | 54 ------- .../ruby_event_store-profiler_mutate.yml | 52 ------- .../ruby_event_store-profiler_test.yml | 56 ------- .../ruby_event_store-protobuf_coverage.yml | 54 ------- .../ruby_event_store-protobuf_mutate.yml | 52 ------- .../ruby_event_store-protobuf_test.yml | 66 -------- .../ruby_event_store-rom_coverage.yml | 54 ------- .../workflows/ruby_event_store-rom_mutate.yml | 52 ------- .../workflows/ruby_event_store-rom_test.yml | 121 -------------- .../ruby_event_store-rspec_coverage.yml | 54 ------- .../ruby_event_store-rspec_mutate.yml | 62 -------- .../workflows/ruby_event_store-rspec_test.yml | 66 -------- .../ruby_event_store-sequel_coverage.yml | 54 ------- .../ruby_event_store-sequel_mutate.yml | 52 ------- .../ruby_event_store-sequel_test.yml | 121 -------------- ...event_store-sidekiq_scheduler_coverage.yml | 67 -------- ...y_event_store-sidekiq_scheduler_mutate.yml | 65 -------- ...uby_event_store-sidekiq_scheduler_test.yml | 71 --------- ...y_event_store-transformations_coverage.yml | 54 ------- ...uby_event_store-transformations_mutate.yml | 52 ------- .../ruby_event_store-transformations_test.yml | 56 ------- .../workflows/ruby_event_store_coverage.yml | 54 ------- .github/workflows/ruby_event_store_mutate.yml | 62 -------- .github/workflows/ruby_event_store_test.yml | 66 -------- support/nix/redis.nix | 3 +- 52 files changed, 16 insertions(+), 3171 deletions(-) delete mode 100644 .github/workflows/aggregate_root_coverage.yml delete mode 100644 .github/workflows/aggregate_root_mutate.yml delete mode 100644 .github/workflows/aggregate_root_test.yml delete mode 100644 .github/workflows/dres_client_test.yml delete mode 100644 .github/workflows/dres_rails_test.yml delete mode 100644 .github/workflows/minitest-ruby_event_store_coverage.yml delete mode 100644 .github/workflows/minitest-ruby_event_store_mutate.yml delete mode 100644 .github/workflows/minitest-ruby_event_store_test.yml delete mode 100644 .github/workflows/rails_event_store_coverage.yml delete mode 100644 .github/workflows/rails_event_store_mutate.yml delete mode 100644 .github/workflows/rails_event_store_test.yml delete mode 100644 .github/workflows/ruby_event_store-active_record_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-active_record_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-active_record_test.yml delete mode 100644 .github/workflows/ruby_event_store-browser_assets.yml delete mode 100644 .github/workflows/ruby_event_store-browser_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-browser_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-browser_test.yml delete mode 100644 .github/workflows/ruby_event_store-flipper_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-flipper_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-flipper_test.yml delete mode 100644 .github/workflows/ruby_event_store-newrelic_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-newrelic_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-newrelic_test.yml delete mode 100644 .github/workflows/ruby_event_store-outbox_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-outbox_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-profiler_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-profiler_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-profiler_test.yml delete mode 100644 .github/workflows/ruby_event_store-protobuf_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-protobuf_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-protobuf_test.yml delete mode 100644 .github/workflows/ruby_event_store-rom_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-rom_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-rom_test.yml delete mode 100644 .github/workflows/ruby_event_store-rspec_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-rspec_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-rspec_test.yml delete mode 100644 .github/workflows/ruby_event_store-sequel_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-sequel_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-sequel_test.yml delete mode 100644 .github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-sidekiq_scheduler_test.yml delete mode 100644 .github/workflows/ruby_event_store-transformations_coverage.yml delete mode 100644 .github/workflows/ruby_event_store-transformations_mutate.yml delete mode 100644 .github/workflows/ruby_event_store-transformations_test.yml delete mode 100644 .github/workflows/ruby_event_store_coverage.yml delete mode 100644 .github/workflows/ruby_event_store_mutate.yml delete mode 100644 .github/workflows/ruby_event_store_test.yml diff --git a/.github/workflows/aggregate_root_coverage.yml b/.github/workflows/aggregate_root_coverage.yml deleted file mode 100644 index eac0f0a671..0000000000 --- a/.github/workflows/aggregate_root_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: aggregate_root_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/Gemfile.lock - - ".github/workflows/aggregate_root_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/Gemfile.lock - - ".github/workflows/aggregate_root_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: aggregate_root - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/aggregate_root_mutate.yml b/.github/workflows/aggregate_root_mutate.yml deleted file mode 100644 index 942bb8d331..0000000000 --- a/.github/workflows/aggregate_root_mutate.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: aggregate_root_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/aggregate_root_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/aggregate_root_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: aggregate_root - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/aggregate_root_test.yml b/.github/workflows/aggregate_root_test.yml deleted file mode 100644 index 5712762156..0000000000 --- a/.github/workflows/aggregate_root_test.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: aggregate_root_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/aggregate_root_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/aggregate_root_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: aggregate_root - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/dres_client_test.yml b/.github/workflows/dres_client_test.yml deleted file mode 100644 index ec373d1689..0000000000 --- a/.github/workflows/dres_client_test.yml +++ /dev/null @@ -1,58 +0,0 @@ -name: dres_client_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/dres_client/** - - contrib/dres_rails/** - - ".github/workflows/dres_client_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/dres_client/** - - contrib/dres_rails/** - - ".github/workflows/dres_client_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/dres_client - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/dres_rails_test.yml b/.github/workflows/dres_rails_test.yml deleted file mode 100644 index ac53946ee0..0000000000 --- a/.github/workflows/dres_rails_test.yml +++ /dev/null @@ -1,95 +0,0 @@ -name: dres_rails_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/dres_client/** - - contrib/dres_rails/** - - ".github/workflows/dres_rails_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/dres_client/** - - contrib/dres_rails/** - - ".github/workflows/dres_rails_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/dres_rails - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - DATABASE_URL: "${{ matrix.database_url }}" - DATA_TYPE: "${{ matrix.data_type }}" - services: - postgres_11: - image: postgres:11 - env: - POSTGRES_DB: rails_event_store - POSTGRES_PASSWORD: secret - ports: - - 10011:5432 - options: --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 - postgres_15: - image: postgres:15 - env: - POSTGRES_DB: rails_event_store - POSTGRES_PASSWORD: secret - ports: - - 10015:5432 - options: --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: binary - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: binary - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10011/rails_event_store - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: json - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: jsonb - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/minitest-ruby_event_store_coverage.yml b/.github/workflows/minitest-ruby_event_store_coverage.yml deleted file mode 100644 index e24d8d298b..0000000000 --- a/.github/workflows/minitest-ruby_event_store_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: minitest-ruby_event_store_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/minitest-ruby_event_store/Gemfile.lock - - ".github/workflows/minitest-ruby_event_store_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/minitest-ruby_event_store/Gemfile.lock - - ".github/workflows/minitest-ruby_event_store_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/minitest-ruby_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/minitest-ruby_event_store_mutate.yml b/.github/workflows/minitest-ruby_event_store_mutate.yml deleted file mode 100644 index 35051b731b..0000000000 --- a/.github/workflows/minitest-ruby_event_store_mutate.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: minitest-ruby_event_store_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/minitest-ruby_event_store/** - - ".github/workflows/minitest-ruby_event_store_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/minitest-ruby_event_store/** - - ".github/workflows/minitest-ruby_event_store_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/minitest-ruby_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/minitest-ruby_event_store_test.yml b/.github/workflows/minitest-ruby_event_store_test.yml deleted file mode 100644 index 731dffd318..0000000000 --- a/.github/workflows/minitest-ruby_event_store_test.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: minitest-ruby_event_store_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/minitest-ruby_event_store/** - - ".github/workflows/minitest-ruby_event_store_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/minitest-ruby_event_store/** - - ".github/workflows/minitest-ruby_event_store_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/minitest-ruby_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/rails_event_store_coverage.yml b/.github/workflows/rails_event_store_coverage.yml deleted file mode 100644 index fcc5014629..0000000000 --- a/.github/workflows/rails_event_store_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: rails_event_store_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - rails_event_store/Gemfile.lock - - ".github/workflows/rails_event_store_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - rails_event_store/Gemfile.lock - - ".github/workflows/rails_event_store_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: rails_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/rails_event_store_mutate.yml b/.github/workflows/rails_event_store_mutate.yml deleted file mode 100644 index 96af517fe5..0000000000 --- a/.github/workflows/rails_event_store_mutate.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: rails_event_store_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/rails_event_store_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/rails_event_store_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: rails_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/rails_event_store_test.yml b/.github/workflows/rails_event_store_test.yml deleted file mode 100644 index 1bd30d7682..0000000000 --- a/.github/workflows/rails_event_store_test.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: rails_event_store_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/rails_event_store_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/rails_event_store_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: rails_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.rails_7_0 - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.rails_6_1 - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.rails_6_0 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-active_record_coverage.yml b/.github/workflows/ruby_event_store-active_record_coverage.yml deleted file mode 100644 index 3db50a01ba..0000000000 --- a/.github/workflows/ruby_event_store-active_record_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-active_record_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - ruby_event_store-active_record/Gemfile.lock - - ".github/workflows/ruby_event_store-active_record_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - ruby_event_store-active_record/Gemfile.lock - - ".github/workflows/ruby_event_store-active_record_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-active_record - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-active_record_mutate.yml b/.github/workflows/ruby_event_store-active_record_mutate.yml deleted file mode 100644 index 3efa304e87..0000000000 --- a/.github/workflows/ruby_event_store-active_record_mutate.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: ruby_event_store-active_record_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-active_record_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-active_record_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-active_record - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-active_record_test.yml b/.github/workflows/ruby_event_store-active_record_test.yml deleted file mode 100644 index cb0a24314d..0000000000 --- a/.github/workflows/ruby_event_store-active_record_test.yml +++ /dev/null @@ -1,147 +0,0 @@ -name: ruby_event_store-active_record_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-active_record_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-active_record_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-active_record - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - DATABASE_URL: "${{ matrix.database_url }}" - DATA_TYPE: "${{ matrix.data_type }}" - services: - postgres_11: - image: postgres:11 - env: - POSTGRES_DB: rails_event_store - POSTGRES_PASSWORD: secret - ports: - - 10011:5432 - options: --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 - postgres_15: - image: postgres:15 - env: - POSTGRES_DB: rails_event_store - POSTGRES_PASSWORD: secret - ports: - - 10015:5432 - options: --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 - mysql_5: - image: mysql:5 - env: - MYSQL_DATABASE: rails_event_store - MYSQL_ROOT_PASSWORD: secret - ports: - - 10005:3306 - options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5 - mysql_8: - image: mysql:8 - env: - MYSQL_DATABASE: rails_event_store - MYSQL_ROOT_PASSWORD: secret - ports: - - 10008:3306 - options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5 - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: sqlite3:db.sqlite3 - data_type: binary - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - database_url: sqlite3:db.sqlite3 - data_type: binary - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - database_url: sqlite3:db.sqlite3 - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.activerecord_7_0 - database_url: sqlite3:db.sqlite3 - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.activerecord_6_1 - database_url: sqlite3:db.sqlite3 - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.activerecord_6_0 - database_url: sqlite3:db.sqlite3 - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10011/rails_event_store - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: json - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: jsonb - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: mysql2://root:secret@127.0.0.1:10008/rails_event_store - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: mysql2://root:secret@127.0.0.1:10005/rails_event_store - data_type: binary - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: mysql2://root:secret@127.0.0.1:10008/rails_event_store - data_type: json - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-browser_assets.yml b/.github/workflows/ruby_event_store-browser_assets.yml deleted file mode 100644 index 9f321e16e4..0000000000 --- a/.github/workflows/ruby_event_store-browser_assets.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: ruby_event_store-browser_assets -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: -jobs: - assets: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-browser - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - cache-dependency-path: "${{ env.WORKING_DIRECTORY }}/elm/package-lock.json" - - uses: actions/cache@v4 - with: - path: "~/.elm" - key: elm-${{ hashFiles(format('{0}/elm/elm.json', env.WORKING_DIRECTORY)) }} - - run: make install-npm - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" - - run: make build-npm - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" - - uses: actions/upload-artifact@v4 - with: - name: ruby_event_store_browser.js - path: "${{ env.WORKING_DIRECTORY }}/public/ruby_event_store_browser.js" - - uses: actions/upload-artifact@v4 - with: - name: ruby_event_store_browser.css - path: "${{ env.WORKING_DIRECTORY }}/public/ruby_event_store_browser.css" - - uses: aws-actions/configure-aws-credentials@v4 - with: - aws-access-key-id: "${{ secrets.AWS_ACCESS_KEY_ID }}" - aws-secret-access-key: "${{ secrets.AWS_SECRET_ACCESS_KEY }}" - aws-region: eu-central-1 - - run: echo "SHORT_SHA=$(git rev-parse --short=12 HEAD)" >> $GITHUB_ENV - - run: aws s3 sync ${{ env.WORKING_DIRECTORY }}/public s3://ruby-event-store-assets/${{ env.SHORT_SHA }} \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-browser_coverage.yml b/.github/workflows/ruby_event_store-browser_coverage.yml deleted file mode 100644 index 32ddfb5039..0000000000 --- a/.github/workflows/ruby_event_store-browser_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-browser_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - ruby_event_store-browser/Gemfile.lock - - ".github/workflows/ruby_event_store-browser_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - ruby_event_store-browser/Gemfile.lock - - ".github/workflows/ruby_event_store-browser_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-browser - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-browser_mutate.yml b/.github/workflows/ruby_event_store-browser_mutate.yml deleted file mode 100644 index b641e545ed..0000000000 --- a/.github/workflows/ruby_event_store-browser_mutate.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: ruby_event_store-browser_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-browser_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-browser_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-browser - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-browser_test.yml b/.github/workflows/ruby_event_store-browser_test.yml deleted file mode 100644 index b40e7a7dc3..0000000000 --- a/.github/workflows/ruby_event_store-browser_test.yml +++ /dev/null @@ -1,77 +0,0 @@ -name: ruby_event_store-browser_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-browser_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-browser_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-browser - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.rack_2_0 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - cache-dependency-path: "${{ env.WORKING_DIRECTORY }}/elm/package-lock.json" - - uses: actions/cache@v4 - with: - path: "~/.elm" - key: elm-${{ hashFiles(format('{0}/elm/elm.json', env.WORKING_DIRECTORY)) }} - - run: make install-npm test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-flipper_coverage.yml b/.github/workflows/ruby_event_store-flipper_coverage.yml deleted file mode 100644 index 98deea2f95..0000000000 --- a/.github/workflows/ruby_event_store-flipper_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-flipper_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-flipper/Gemfile.lock - - ".github/workflows/ruby_event_store-flipper_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-flipper/Gemfile.lock - - ".github/workflows/ruby_event_store-flipper_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-flipper - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-flipper_mutate.yml b/.github/workflows/ruby_event_store-flipper_mutate.yml deleted file mode 100644 index ee598aa6fe..0000000000 --- a/.github/workflows/ruby_event_store-flipper_mutate.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ruby_event_store-flipper_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-flipper/** - - ".github/workflows/ruby_event_store-flipper_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-flipper/** - - ".github/workflows/ruby_event_store-flipper_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-flipper - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-flipper_test.yml b/.github/workflows/ruby_event_store-flipper_test.yml deleted file mode 100644 index 4409a1525e..0000000000 --- a/.github/workflows/ruby_event_store-flipper_test.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: ruby_event_store-flipper_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-flipper/** - - ".github/workflows/ruby_event_store-flipper_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-flipper/** - - ".github/workflows/ruby_event_store-flipper_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-flipper - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.activesupport_7_0 - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.activesupport_6_1 - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.activesupport_6_0 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-newrelic_coverage.yml b/.github/workflows/ruby_event_store-newrelic_coverage.yml deleted file mode 100644 index 304b22cd78..0000000000 --- a/.github/workflows/ruby_event_store-newrelic_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-newrelic_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-newrelic/Gemfile.lock - - ".github/workflows/ruby_event_store-newrelic_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-newrelic/Gemfile.lock - - ".github/workflows/ruby_event_store-newrelic_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-newrelic - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-newrelic_mutate.yml b/.github/workflows/ruby_event_store-newrelic_mutate.yml deleted file mode 100644 index 95df92dbf3..0000000000 --- a/.github/workflows/ruby_event_store-newrelic_mutate.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ruby_event_store-newrelic_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-newrelic/** - - ".github/workflows/ruby_event_store-newrelic_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-newrelic/** - - ".github/workflows/ruby_event_store-newrelic_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-newrelic - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-newrelic_test.yml b/.github/workflows/ruby_event_store-newrelic_test.yml deleted file mode 100644 index 0d65d756c5..0000000000 --- a/.github/workflows/ruby_event_store-newrelic_test.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: ruby_event_store-newrelic_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-newrelic/** - - ".github/workflows/ruby_event_store-newrelic_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-newrelic/** - - ".github/workflows/ruby_event_store-newrelic_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-newrelic - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-outbox_coverage.yml b/.github/workflows/ruby_event_store-outbox_coverage.yml deleted file mode 100644 index be9a3d693b..0000000000 --- a/.github/workflows/ruby_event_store-outbox_coverage.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: ruby_event_store-outbox_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-outbox/Gemfile.lock - - ".github/workflows/ruby_event_store-outbox_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-outbox/Gemfile.lock - - ".github/workflows/ruby_event_store-outbox_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-outbox - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - uses: cachix/install-nix-action@v25 - with: - nix_path: nixpkgs=channel:nixos-unstable - - uses: cachix/cachix-action@v14 - with: - name: railseventstore - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: | - nix-shell --run "make mutate" -E" - with import { }; - mkShell { - inputsFrom = [ - (import ../../support/nix/redis.nix) - ]; - } - " - working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-outbox_mutate.yml b/.github/workflows/ruby_event_store-outbox_mutate.yml deleted file mode 100644 index 5eab151f1a..0000000000 --- a/.github/workflows/ruby_event_store-outbox_mutate.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: ruby_event_store-outbox_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-outbox/** - - ".github/workflows/ruby_event_store-outbox_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-outbox/** - - ".github/workflows/ruby_event_store-outbox_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-outbox - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: cachix/install-nix-action@v25 - with: - nix_path: nixpkgs=channel:nixos-unstable - - uses: cachix/cachix-action@v14 - with: - name: railseventstore - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: | - nix-shell --run "make mutate-changes" -E" - with import { }; - mkShell { - inputsFrom = [ - (import ../../support/nix/redis.nix) - ]; - } - " - working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-outbox_test.yml b/.github/workflows/ruby_event_store-outbox_test.yml index 4bc2ea2c2f..a566da789c 100644 --- a/.github/workflows/ruby_event_store-outbox_test.yml +++ b/.github/workflows/ruby_event_store-outbox_test.yml @@ -96,6 +96,11 @@ jobs: ruby-version: "${{ env.RUBY_VERSION }}" bundler-cache: true working-directory: "${{ env.WORKING_DIRECTORY }}" + - run: | + echo "Checking if /home/runner/work/_temp exists and has correct permissions" + ls -la /home/runner/work/_temp + echo "Current permissions:" + stat -c "%a %n" /home/runner/work/_temp - run: | nix-shell --run "make test" -E" with import { }; @@ -105,4 +110,12 @@ jobs: ]; } " - working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file + working-directory: "${{ env.WORKING_DIRECTORY }}" + - run: | + echo "Check if Redis is running:" + ps aux | grep redis + echo "Check for Redis socket:" + ls -la "${{ env.SOCKET }}" + - run: | + echo "REDIS_URL is set to $REDIS_URL" + env | grep REDIS diff --git a/.github/workflows/ruby_event_store-profiler_coverage.yml b/.github/workflows/ruby_event_store-profiler_coverage.yml deleted file mode 100644 index f62da3742f..0000000000 --- a/.github/workflows/ruby_event_store-profiler_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-profiler_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-profiler/Gemfile.lock - - ".github/workflows/ruby_event_store-profiler_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-profiler/Gemfile.lock - - ".github/workflows/ruby_event_store-profiler_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-profiler - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-profiler_mutate.yml b/.github/workflows/ruby_event_store-profiler_mutate.yml deleted file mode 100644 index 1ba38a5520..0000000000 --- a/.github/workflows/ruby_event_store-profiler_mutate.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ruby_event_store-profiler_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-profiler/** - - ".github/workflows/ruby_event_store-profiler_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-profiler/** - - ".github/workflows/ruby_event_store-profiler_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-profiler - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-profiler_test.yml b/.github/workflows/ruby_event_store-profiler_test.yml deleted file mode 100644 index e4d402df29..0000000000 --- a/.github/workflows/ruby_event_store-profiler_test.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: ruby_event_store-profiler_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-profiler/** - - ".github/workflows/ruby_event_store-profiler_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-profiler/** - - ".github/workflows/ruby_event_store-profiler_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-profiler - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-protobuf_coverage.yml b/.github/workflows/ruby_event_store-protobuf_coverage.yml deleted file mode 100644 index ecfdce5754..0000000000 --- a/.github/workflows/ruby_event_store-protobuf_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-protobuf_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-protobuf/Gemfile.lock - - ".github/workflows/ruby_event_store-protobuf_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-protobuf/Gemfile.lock - - ".github/workflows/ruby_event_store-protobuf_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-protobuf - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-protobuf_mutate.yml b/.github/workflows/ruby_event_store-protobuf_mutate.yml deleted file mode 100644 index 6af70dbdbf..0000000000 --- a/.github/workflows/ruby_event_store-protobuf_mutate.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ruby_event_store-protobuf_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-protobuf/** - - ".github/workflows/ruby_event_store-protobuf_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-protobuf/** - - ".github/workflows/ruby_event_store-protobuf_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-protobuf - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-protobuf_test.yml b/.github/workflows/ruby_event_store-protobuf_test.yml deleted file mode 100644 index 8f2ef6dd06..0000000000 --- a/.github/workflows/ruby_event_store-protobuf_test.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: ruby_event_store-protobuf_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-protobuf/** - - ".github/workflows/ruby_event_store-protobuf_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-protobuf/** - - ".github/workflows/ruby_event_store-protobuf_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-protobuf - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - DATABASE_URL: "${{ matrix.database_url }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - database_url: sqlite3:db.sqlite3 - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - database_url: sqlite3:db.sqlite3 - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile.rails_7_0 - database_url: sqlite3:db.sqlite3 - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile.rails_6_1 - database_url: sqlite3:db.sqlite3 - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile.rails_6_0 - database_url: sqlite3:db.sqlite3 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rom_coverage.yml b/.github/workflows/ruby_event_store-rom_coverage.yml deleted file mode 100644 index 76037a768d..0000000000 --- a/.github/workflows/ruby_event_store-rom_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-rom_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-rom/Gemfile.lock - - ".github/workflows/ruby_event_store-rom_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-rom/Gemfile.lock - - ".github/workflows/ruby_event_store-rom_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-rom - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rom_mutate.yml b/.github/workflows/ruby_event_store-rom_mutate.yml deleted file mode 100644 index ed10f92de2..0000000000 --- a/.github/workflows/ruby_event_store-rom_mutate.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ruby_event_store-rom_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-rom/** - - ".github/workflows/ruby_event_store-rom_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-rom/** - - ".github/workflows/ruby_event_store-rom_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-rom - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rom_test.yml b/.github/workflows/ruby_event_store-rom_test.yml deleted file mode 100644 index 150ba1c921..0000000000 --- a/.github/workflows/ruby_event_store-rom_test.yml +++ /dev/null @@ -1,121 +0,0 @@ -name: ruby_event_store-rom_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-rom/** - - ".github/workflows/ruby_event_store-rom_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-rom/** - - ".github/workflows/ruby_event_store-rom_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-rom - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - DATABASE_URL: "${{ matrix.database_url }}" - DATA_TYPE: "${{ matrix.data_type }}" - services: - postgres_11: - image: postgres:11 - env: - POSTGRES_DB: rails_event_store - POSTGRES_PASSWORD: secret - ports: - - 10011:5432 - options: --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 - postgres_15: - image: postgres:15 - env: - POSTGRES_DB: rails_event_store - POSTGRES_PASSWORD: secret - ports: - - 10015:5432 - options: --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 - mysql_5: - image: mysql:5 - env: - MYSQL_DATABASE: rails_event_store - MYSQL_ROOT_PASSWORD: secret - ports: - - 10005:3306 - options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5 - mysql_8: - image: mysql:8 - env: - MYSQL_DATABASE: rails_event_store - MYSQL_ROOT_PASSWORD: secret - ports: - - 10008:3306 - options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5 - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: sqlite:db.sqlite3 - data_type: text - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - database_url: sqlite:db.sqlite3 - data_type: text - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - database_url: sqlite:db.sqlite3 - data_type: text - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: text - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10011/rails_event_store - data_type: text - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: json - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: jsonb - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: mysql2://root:secret@127.0.0.1:10008/rails_event_store - data_type: text - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: mysql2://root:secret@127.0.0.1:10005/rails_event_store - data_type: text - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rspec_coverage.yml b/.github/workflows/ruby_event_store-rspec_coverage.yml deleted file mode 100644 index a674bf70f9..0000000000 --- a/.github/workflows/ruby_event_store-rspec_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-rspec_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - ruby_event_store-rspec/Gemfile.lock - - ".github/workflows/ruby_event_store-rspec_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - ruby_event_store-rspec/Gemfile.lock - - ".github/workflows/ruby_event_store-rspec_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-rspec - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rspec_mutate.yml b/.github/workflows/ruby_event_store-rspec_mutate.yml deleted file mode 100644 index d97ebd08bb..0000000000 --- a/.github/workflows/ruby_event_store-rspec_mutate.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: ruby_event_store-rspec_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-rspec_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-rspec_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-rspec - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-rspec_test.yml b/.github/workflows/ruby_event_store-rspec_test.yml deleted file mode 100644 index 93c9f95bfb..0000000000 --- a/.github/workflows/ruby_event_store-rspec_test.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: ruby_event_store-rspec_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-rspec_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store-rspec_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store-rspec - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sequel_coverage.yml b/.github/workflows/ruby_event_store-sequel_coverage.yml deleted file mode 100644 index 3e447e0a21..0000000000 --- a/.github/workflows/ruby_event_store-sequel_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-sequel_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-sequel/Gemfile.lock - - ".github/workflows/ruby_event_store-sequel_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-sequel/Gemfile.lock - - ".github/workflows/ruby_event_store-sequel_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-sequel - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sequel_mutate.yml b/.github/workflows/ruby_event_store-sequel_mutate.yml deleted file mode 100644 index a6b915c5b5..0000000000 --- a/.github/workflows/ruby_event_store-sequel_mutate.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ruby_event_store-sequel_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-sequel/** - - ".github/workflows/ruby_event_store-sequel_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-sequel/** - - ".github/workflows/ruby_event_store-sequel_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-sequel - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sequel_test.yml b/.github/workflows/ruby_event_store-sequel_test.yml deleted file mode 100644 index 78156d99f1..0000000000 --- a/.github/workflows/ruby_event_store-sequel_test.yml +++ /dev/null @@ -1,121 +0,0 @@ -name: ruby_event_store-sequel_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-sequel/** - - ".github/workflows/ruby_event_store-sequel_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-sequel/** - - ".github/workflows/ruby_event_store-sequel_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-sequel - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - DATABASE_URL: "${{ matrix.database_url }}" - DATA_TYPE: "${{ matrix.data_type }}" - services: - postgres_11: - image: postgres:11 - env: - POSTGRES_DB: rails_event_store - POSTGRES_PASSWORD: secret - ports: - - 10011:5432 - options: --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 - postgres_15: - image: postgres:15 - env: - POSTGRES_DB: rails_event_store - POSTGRES_PASSWORD: secret - ports: - - 10015:5432 - options: --health-cmd "pg_isready" --health-interval 10s --health-timeout 5s --health-retries 5 - mysql_5: - image: mysql:5 - env: - MYSQL_DATABASE: rails_event_store - MYSQL_ROOT_PASSWORD: secret - ports: - - 10005:3306 - options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5 - mysql_8: - image: mysql:8 - env: - MYSQL_DATABASE: rails_event_store - MYSQL_ROOT_PASSWORD: secret - ports: - - 10008:3306 - options: --health-cmd "mysqladmin ping" --health-interval 10s --health-timeout 5s --health-retries 5 - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: sqlite:db.sqlite3 - data_type: text - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - database_url: sqlite:db.sqlite3 - data_type: text - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - database_url: sqlite:db.sqlite3 - data_type: text - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: text - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10011/rails_event_store - data_type: text - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: json - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: postgres://postgres:secret@localhost:10015/rails_event_store - data_type: jsonb - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: mysql2://root:secret@127.0.0.1:10008/rails_event_store - data_type: text - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - database_url: mysql2://root:secret@127.0.0.1:10005/rails_event_store - data_type: text - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml b/.github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml deleted file mode 100644 index 6e1fe127d4..0000000000 --- a/.github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: ruby_event_store-sidekiq_scheduler_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-sidekiq_scheduler/Gemfile.lock - - ".github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-sidekiq_scheduler/Gemfile.lock - - ".github/workflows/ruby_event_store-sidekiq_scheduler_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-sidekiq_scheduler - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - uses: cachix/install-nix-action@v25 - with: - nix_path: nixpkgs=channel:nixos-unstable - - uses: cachix/cachix-action@v14 - with: - name: railseventstore - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: | - nix-shell --run "make mutate" -E" - with import { }; - mkShell { - inputsFrom = [ - (import ../../support/nix/redis.nix) - ]; - } - " - working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml b/.github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml deleted file mode 100644 index 870497dee6..0000000000 --- a/.github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: ruby_event_store-sidekiq_scheduler_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-sidekiq_scheduler/** - - ".github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-sidekiq_scheduler/** - - ".github/workflows/ruby_event_store-sidekiq_scheduler_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-sidekiq_scheduler - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: cachix/install-nix-action@v25 - with: - nix_path: nixpkgs=channel:nixos-unstable - - uses: cachix/cachix-action@v14 - with: - name: railseventstore - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: | - nix-shell --run "make mutate-changes" -E" - with import { }; - mkShell { - inputsFrom = [ - (import ../../support/nix/redis.nix) - ]; - } - " - working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-sidekiq_scheduler_test.yml b/.github/workflows/ruby_event_store-sidekiq_scheduler_test.yml deleted file mode 100644 index 7d41641e56..0000000000 --- a/.github/workflows/ruby_event_store-sidekiq_scheduler_test.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: ruby_event_store-sidekiq_scheduler_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-sidekiq_scheduler/** - - ".github/workflows/ruby_event_store-sidekiq_scheduler_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-sidekiq_scheduler/** - - ".github/workflows/ruby_event_store-sidekiq_scheduler_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-sidekiq_scheduler - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile.sidekiq_6_5 - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - uses: cachix/install-nix-action@v25 - with: - nix_path: nixpkgs=channel:nixos-unstable - - uses: cachix/cachix-action@v14 - with: - name: railseventstore - authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: | - nix-shell --run "make test" -E" - with import { }; - mkShell { - inputsFrom = [ - (import ../../support/nix/redis.nix) - ]; - } - " - working-directory: "${{ env.WORKING_DIRECTORY }}" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-transformations_coverage.yml b/.github/workflows/ruby_event_store-transformations_coverage.yml deleted file mode 100644 index 524caf007a..0000000000 --- a/.github/workflows/ruby_event_store-transformations_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store-transformations_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-transformations/Gemfile.lock - - ".github/workflows/ruby_event_store-transformations_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-transformations/Gemfile.lock - - ".github/workflows/ruby_event_store-transformations_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-transformations - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-transformations_mutate.yml b/.github/workflows/ruby_event_store-transformations_mutate.yml deleted file mode 100644 index 3c60f71f39..0000000000 --- a/.github/workflows/ruby_event_store-transformations_mutate.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: ruby_event_store-transformations_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-transformations/** - - ".github/workflows/ruby_event_store-transformations_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-transformations/** - - ".github/workflows/ruby_event_store-transformations_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-transformations - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store-transformations_test.yml b/.github/workflows/ruby_event_store-transformations_test.yml deleted file mode 100644 index 16c309eb80..0000000000 --- a/.github/workflows/ruby_event_store-transformations_test.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: ruby_event_store-transformations_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - contrib/ruby_event_store-transformations/** - - ".github/workflows/ruby_event_store-transformations_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - contrib/ruby_event_store-transformations/** - - ".github/workflows/ruby_event_store-transformations_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: contrib/ruby_event_store-transformations - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store_coverage.yml b/.github/workflows/ruby_event_store_coverage.yml deleted file mode 100644 index f8ce092779..0000000000 --- a/.github/workflows/ruby_event_store_coverage.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: ruby_event_store_coverage -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - ruby_event_store/Gemfile.lock - - ".github/workflows/ruby_event_store_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - ruby_event_store/Gemfile.lock - - ".github/workflows/ruby_event_store_coverage.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - schedule: - - cron: 0 17 * * * -jobs: - coverage: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store_mutate.yml b/.github/workflows/ruby_event_store_mutate.yml deleted file mode 100644 index 0df28fc77a..0000000000 --- a/.github/workflows/ruby_event_store_mutate.yml +++ /dev/null @@ -1,62 +0,0 @@ -name: ruby_event_store_mutate -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store_mutate.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - mutate: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make mutate-changes - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/.github/workflows/ruby_event_store_test.yml b/.github/workflows/ruby_event_store_test.yml deleted file mode 100644 index 73026a99f9..0000000000 --- a/.github/workflows/ruby_event_store_test.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: ruby_event_store_test -on: - workflow_dispatch: - repository_dispatch: - types: - - script - push: - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" - pull_request: - types: - - opened - - reopened - paths: - - aggregate_root/** - - rails_event_store/** - - ruby_event_store/** - - ruby_event_store-active_record/** - - ruby_event_store-browser/** - - ruby_event_store-rspec/** - - ".github/workflows/ruby_event_store_test.yml" - - support/** - - "!support/bundler/**" - - "!support/ci/**" -jobs: - test: - runs-on: ubuntu-20.04 - timeout-minutes: 120 - env: - WORKING_DIRECTORY: ruby_event_store - RUBY_VERSION: "${{ matrix.ruby_version }}" - BUNDLE_GEMFILE: "${{ matrix.bundle_gemfile }}" - strategy: - fail-fast: false - matrix: - include: - - ruby_version: ruby-3.3 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.2 - bundle_gemfile: Gemfile - - ruby_version: ruby-3.1 - bundle_gemfile: Gemfile - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - run: test -e ${{ env.BUNDLE_GEMFILE }}.lock - working-directory: "${{ env.WORKING_DIRECTORY }}" - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "${{ env.RUBY_VERSION }}" - bundler-cache: true - working-directory: "${{ env.WORKING_DIRECTORY }}" - - run: make test - working-directory: "${{ env.WORKING_DIRECTORY }}" - env: - RUBYOPT: "--enable-frozen-string-literal" \ No newline at end of file diff --git a/support/nix/redis.nix b/support/nix/redis.nix index b815618766..d6624d58bb 100644 --- a/support/nix/redis.nix +++ b/support/nix/redis.nix @@ -16,7 +16,8 @@ mkShell { --unixsocket $SOCKET \ --save "" \ --daemonize yes \ - --pidfile $PIDFILE + --pidfile $PIDFILE \ + --loglevel verbose export REDIS_URL="unix://$SOCKET"