Skip to content

Commit

Permalink
Use new tool version in Github integration tests action (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpgross authored Dec 16, 2024
2 parents f000935 + 31d0c5b commit 4670c6f
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 16 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
working-directory: ${{ matrix.test == 'test_integration' && 'dev' || '.' }}
- uses: cue-lang/[email protected]
with:
version: 'v0.7.0'
- run: VERBOSE=1 make --file=Makefile ${{ matrix.test }}
- name: Run tests
working-directory: ${{ matrix.test == 'test_integration' && 'dev' || '.' }}
run: |
if [ "${{ matrix.test }}" = "test_integration" ]; then
bundle exec rake integration
else
VERBOSE=1 make --file=Makefile ${{ matrix.test }}
fi
1 change: 1 addition & 0 deletions dev/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.0
3 changes: 3 additions & 0 deletions dev/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

source "https://rubygems.org"

gem "rake"
gem "thor", "~> 1.3"
gem "activesupport"
gem "activemodel"
Expand All @@ -12,5 +13,7 @@ group :development do
end

group :test do
gem "minitest"
gem "minitest-hooks"
gem "mocha"
end
6 changes: 6 additions & 0 deletions dev/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ GEM
language_server-protocol (3.17.0.3)
logger (1.6.1)
minitest (5.25.1)
minitest-hooks (1.5.2)
minitest (> 5.3)
mocha (2.3.0)
ruby2_keywords (>= 0.0.5)
parallel (1.26.3)
Expand All @@ -36,6 +38,7 @@ GEM
racc
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.2)
rubocop (1.68.0)
json (~> 2.3)
Expand Down Expand Up @@ -92,7 +95,10 @@ DEPENDENCIES
activemodel
activesupport
json (~> 2.7.2)
minitest
minitest-hooks
mocha
rake
rubocop-shopify
thor (~> 1.3)

Expand Down
2 changes: 1 addition & 1 deletion dev/lib/product_taxonomy/commands/generate_dist_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ProductTaxonomy
class GenerateDistCommand < Command
OUTPUT_PATH = File.expand_path("../../../dist", __dir__)
OUTPUT_PATH = File.expand_path("../../../../dist", __dir__)

def initialize(options)
super
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168566,13 +168566,6 @@
}
}
]
},
{
"input_taxonomy": "shopify/2022-02",
"output_taxonomy": "shopify/2025-01-unstable",
"rules": [

]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"version": "2025-01-unstable",
"mappings": [
{
"input_taxonomy": "shopify/2025-01-unstable",
"output_taxonomy": "google/2021-09-21",
"rules": [

]
},
{
"input_taxonomy": "shopify/2022-02",
"output_taxonomy": "shopify/2025-01-unstable",
Expand Down

0 comments on commit 4670c6f

Please sign in to comment.