Skip to content

Commit

Permalink
Fine, just remove the lock file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesiarmes committed Aug 8, 2024
1 parent 6f6bc7a commit 7fe048a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,19 @@ jobs:
runs-on: ubuntu-latest
env:
COVERAGE: 1
# Allow mismatch with the lock file because imb_db can only be installed
# on x86_64 systems.
BUNDLE_GEMFILE: noop.lock

steps:
- uses: actions/checkout@v4
# The imb_db can only be installed on x86_64 systems, so it may not
# currently be present in the lock file. The setup-ruby action will
# fail if this is the case, so we'll remove it.
#
# This should be removed when the imb_db gem is available for ARM.
- name: Remove lock file
run: rm -f Gemfile.lock
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Run tests
run: bundle exec rspec
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ jobs:
runs-on: ubuntu-latest
env:
COVERAGE: 1
# Allow mismatch with the lock file because imb_db can only be installed
# on x86_64 systems.
BUNDLE_GEMFILE: noop.lock

steps:
- uses: actions/checkout@v4
# The imb_db can only be installed on x86_64 systems, so it may not
# currently be present in the lock file. The setup-ruby action will
# fail if this is the case, so we'll remove it.
#
# This should be removed when the imb_db gem is available for ARM.
- name: Remove lock file
run: rm -f Gemfile.lock
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Run tests
run: bundle exec rspec
Expand Down

0 comments on commit 7fe048a

Please sign in to comment.