Skip to content

Commit

Permalink
CI: Use stable version of Quickdraw
Browse files Browse the repository at this point in the history
But, also add a separate job that runs with edge version of Quickdraw.
  • Loading branch information
bquorning committed Jul 4, 2024
1 parent 82e4a49 commit 5c44705
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,27 @@ jobs:
- name: Quickdraw Tests
run: bundle exec qt

test-edge-quickdraw:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4

- name: Setup
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: false

- name: Install dependencies
run: |
sed -e 's/gem "quickdraw".*/gem "quickdraw", github: "joeldrapper\/quickdraw"/' -i Gemfile
cat Gemfile
bundle config set --local without "development"
bundle install
- name: Quickdraw Tests
run: bundle exec qt

rubocop:
runs-on: "ubuntu-latest"
steps:
Expand All @@ -50,7 +71,9 @@ jobs:
bundler-cache: false

- name: Install dependencies
run: bundle install
run: |
bundle config set --local only "development"
bundle install
- name: Rubocop
run: bundle exec rubocop
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ gemspec

group :test do
gem "sus"
gem "quickdraw", github: "joeldrapper/quickdraw"
gem "quickdraw", github: "joeldrapper/quickdraw", ref: "061b0fa9c6f10bc95190de2e1f2812fa52ff01a3"
gem "simplecov", require: false
if RUBY_ENGINE == "ruby" && RUBY_VERSION[0] > "3"
gem "async"
Expand Down

0 comments on commit 5c44705

Please sign in to comment.