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
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,11 @@ jobs:
- name: Install dependencies
shell: bash
run: |
gem install --no-document toys
bundle install
- name: Test ${{ matrix.task }}
shell: bash
# zizmor: ignore[template-injection]
run: |
for task in $(echo "${{ matrix.task }}" | tr ',' ' '); do
toys "$task" < /dev/null
bundle exec rake "$task" < /dev/null
done
5 changes: 2 additions & 3 deletions .kokoro/samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ set -eo pipefail
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH

gem install --no-document toys

# To run acceptance tests for samples, we need the `sample_loader.rb` helper
# from the `googleapis/ruby-common-tools` repository.
#
Expand All @@ -23,4 +21,5 @@ gem install --no-document toys
# step explicit and reliable.
curl -sSL https://raw.githubusercontent.com/googleapis/ruby-common-tools/main/lib/sample_loader.rb -o samples/acceptance/sample_loader.rb

toys samples < /dev/null
bundle install
bundle exec rake samples < /dev/null
42 changes: 0 additions & 42 deletions .toys/.lib/repo_context.rb

This file was deleted.

56 changes: 0 additions & 56 deletions .toys/.toys.rb

This file was deleted.

45 changes: 0 additions & 45 deletions .toys/ci.rb

This file was deleted.

45 changes: 0 additions & 45 deletions .toys/linkinator.rb

This file was deleted.

35 changes: 0 additions & 35 deletions .toys/samples.rb

This file was deleted.

1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ gem "minitest", "~> 5.14"
gem "minitest-focus", "~> 1.1"
gem "pstore", "~> 0.2.1"
gem "rack-test", "~> 2.0"
gem "rake", "~> 13.0"
gem "redcarpet", "~> 3.0"
gem "redis", ">= 4.0", "< 6"
gem "rspec", "~> 3.0"
Expand Down
7 changes: 5 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
googleauth (1.17.3)
googleauth (1.17.4)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.2)
google-logging-utils (~> 0.1)
Expand Down Expand Up @@ -79,6 +79,7 @@ GEM
rack-test (2.2.0)
rack (>= 1.3)
rainbow (3.1.1)
rake (13.4.2)
rbs (4.1.1)
logger
prism (>= 1.6.0)
Expand Down Expand Up @@ -156,6 +157,7 @@ DEPENDENCIES
minitest-focus (~> 1.1)
pstore (~> 0.2.1)
rack-test (~> 2.0)
rake (~> 13.0)
redcarpet (~> 3.0)
redis (>= 4.0, < 6)
rspec (~> 3.0)
Expand All @@ -181,7 +183,7 @@ CHECKSUMS
google-cloud-env (2.4.0) sha256=01cb35ecee5d1c4d1cd4deaed8bb5bddc838e296bcc2a35c5d1ddd07ce40d28d
google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b
google-style (1.32.0) sha256=3b13068979e5b8caa067ecce9bf818b6cf0e5eb706ead41c5b905f237d9bfb01
googleauth (1.17.3)
googleauth (1.17.4)
hashdiff (1.2.1) sha256=9c079dbc513dfc8833ab59c0c2d8f230fa28499cc5efb4b8dd276cf931457cd1
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3
Expand All @@ -208,6 +210,7 @@ CHECKSUMS
rack (3.2.6) sha256=5ed78e1f73b2e25679bec7d45ee2d4483cc4146eb1be0264fc4d94cb5ef212c2
rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
rbs (4.1.1) sha256=1bf118f2f95d1cd3956357645d495152b661e0257e57781d18ceecd461622b9e
rdoc (8.0.0) sha256=03bf8c08a9639658855a0cfd77c0abca8325c227693f7f33f82957811348c469
redcarpet (3.6.1) sha256=d444910e6aa55480c6bcdc0cdb057626e8a32c054c29e793fa642ba2f155f445
Expand Down
Loading
Loading