Skip to content

Commit

Permalink
Merge pull request #625 from fog/fix-rubyversion
Browse files Browse the repository at this point in the history
Fix 'Ostruct' errors in storage tests
  • Loading branch information
Temikus authored Apr 7, 2024
2 parents ecc9b2d + 3a02429 commit e40eed7
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-compute-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# is no need to run them if SQL code or deps haven't changed and you cannot
# trigger jobs based on file changes in the same workflow.
# See: https://github.com/actions/runner/issues/456
name: integration-tests-compute-instance_groups
name: integration-tests-compute-core

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened, labeled ]
# Only run SQL integration tests if SQL code or deps have changed
# Only run integration tests if relevant code or deps have changed
paths:
# Module-specific paths
- 'lib/fog/compute/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-compute-instance_groups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened, labeled ]
# Only run SQL integration tests if SQL code or deps have changed
# Only run integration tests if relevant code or deps have changed
paths:
# Module-specific paths
- 'lib/fog/compute/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-compute-loadbalancing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened, labeled ]
# Only run SQL integration tests if SQL code or deps have changed
# Only run integration tests if relevant code or deps have changed
paths:
# Module-specific paths
- 'lib/fog/compute/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-compute-networking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened, labeled ]
# Only run SQL integration tests if SQL code or deps have changed
# Only run integration tests if relevant code or deps have changed
paths:
# Module-specific paths
- 'lib/fog/compute/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened, labeled ]
# Only run SQL integration tests if SQL code or deps have changed
# Only run integration tests if relevant code or deps have changed
paths:
# Module-specific paths
- 'lib/fog/google/monitoring.rb'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-pubsub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened, labeled ]
# Only run SQL integration tests if SQL code or deps have changed
# Only run integration tests if relevant code or deps have changed
paths:
# Module-specific paths
- 'lib/fog/google/pubsub.rb'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-sql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened, labeled ]
# Only run SQL integration tests if SQL code or deps have changed
# Only run integration tests if relevant code or deps have changed
paths:
# Module-specific paths
- 'lib/fog/google/sql.rb'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened, labeled ]
# Only run SQL integration tests if SQL code or deps have changed
# Only run integration tests if relevant code or deps have changed
paths:
# Module-specific paths
- 'lib/fog/google/storage.rb'
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2.2
1 change: 1 addition & 0 deletions test/integration/storage/test_objects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require "base64"
require "tempfile"
require "net/http"
require "ostruct"

class TestStorageRequests < StorageShared
def test_put_object_string
Expand Down

0 comments on commit e40eed7

Please sign in to comment.