Skip to content

Commit

Permalink
Drop old tests
Browse files Browse the repository at this point in the history
- Drop old ruby version tests
- Add ruby 3.3
- Add rails7 gemfile
  • Loading branch information
lancetarn committed Jul 9, 2024
1 parent 3838109 commit 5240ce5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,13 @@ jobs:
fail-fast: false
matrix:
include:
- ruby: 2.1
gemfile: gems/rails3.gemfile
- ruby: 2.2
- ruby: 2.3
- ruby: 2.4
- ruby: 2.5
- ruby: 2.6
- ruby: 2.6
gemfile: gems/typhoeus.gemfile
test_features: "typhoeus"
- ruby: 2.6
gemfile: gems/octoshark.gemfile
- ruby: 2.6
gemfile: gems/rails3.gemfile
bundler: 1.17.3
- ruby: 2.7
- ruby: 2.7
Expand All @@ -50,8 +43,11 @@ jobs:
- ruby: "3.0"
gemfile: gems/sidekiq.gemfile
test_features: "sidekiq_install"
- ruby: "3.0"
gemfile: gems/rails7.gemfile
- ruby: 3.1
- ruby: 3.2
- ruby: 3.3
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
SCOUT_TEST_FEATURES: ${{ matrix.test_features }}
Expand Down
12 changes: 4 additions & 8 deletions gems/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# Gems

These gemfiles list specific configurations of gems that we use in travis testing.
These gemfiles list specific configurations of gems that we use in testing.

## Travis Matrix
## Test Matrix

- See [.github/workflows/test.yml](.github/workflows/test.yml) for the matrix of gemfiles that are tested.

```yaml
matrix:
include:
- rvm: "1.8.7"
gemfile: gems/rails3.gemfile
```

Using a gemfile controls the specific versions of the gems that are installed, and can be used to reproduce customer configurations for testing.

Expand Down
4 changes: 4 additions & 0 deletions gems/rails7.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eval_gemfile("../Gemfile")

gem "rails", "~> 7.1"
gem "sqlite3", "~> 1.6"

0 comments on commit 5240ce5

Please sign in to comment.