Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: hcloud-ruby integration tests
on: [push]

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby-version: [ '3.1' ]
steps:
- uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run integration tests
run: bundle exec rspec -t integration
env:
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
2 changes: 0 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ jobs:
bundler-cache: true
- name: Run double tests
run: bundle exec rspec -t doubles --order rand
- name: Run legacy tests
run: LEGACY_TESTS=y bundle exec rspec -t ~doubles
8 changes: 0 additions & 8 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 3
Lint/ShadowingOuterLocalVariable:
Exclude:
- 'spec/fake_service/datacenter.rb'
- 'spec/fake_service/location.rb'
- 'spec/fake_service/server_type.rb'

# Offense count: 1
# Configuration parameters: AllowKeywordBlockArguments.
Lint/UnderscorePrefixedVariableName:
Expand Down Expand Up @@ -42,4 +35,3 @@ Metrics/PerceivedComplexity:
Naming/MethodParameterName:
Exclude:
- 'lib/hcloud/abstract_resource.rb'
- 'spec/fake_service/action.rb'
94 changes: 0 additions & 94 deletions spec/fake_service/action.rb

This file was deleted.

82 changes: 0 additions & 82 deletions spec/fake_service/base.rb

This file was deleted.

88 changes: 0 additions & 88 deletions spec/fake_service/datacenter.rb

This file was deleted.

Loading