Skip to content

Commit

Permalink
Simplify Docker run command in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oleander committed Nov 8, 2024
1 parent 49cc827 commit 5fc4781
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ RUN gem install solargraph bundler:2.5.22 gem-release
COPY Gemfile Gemfile.lock git_fame.gemspec ./
COPY lib/git_fame/version.rb ./lib/git_fame/version.rb

COPY . .

RUN bundle install --jobs 4 --retry 3
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
CI: true
with:
coverageLocations: ${{ github.workspace }}/coverage/coverage.xml:cobertura
coverageCommand: docker run --rm -v $(pwd):/workspace git-fame bundle exec rspec --format RSpec::Github::Formatter
coverageCommand: docker run --rm git-fame bundle exec rspec --format RSpec::Github::Formatter

devcontainer:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5fc4781

Please sign in to comment.