Skip to content

Commit

Permalink
Improve ci ordering (#23)
Browse files Browse the repository at this point in the history
* Run rubocop first in CI

* Add ruby 3.3 to CI matrix
  • Loading branch information
guillermoap authored Apr 26, 2024
1 parent 65a81f9 commit 4a7b158
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
version: ['3.0', 3.1, 3.2]
version: ['3.0', 3.1, 3.2, 3.3]
experimental: [false]
include:
- version: head
Expand Down Expand Up @@ -51,6 +51,8 @@ jobs:
with:
bundler-cache: true
ruby-version: ${{ matrix.version }}
- name: Run RuboCop
run: bundle exec rubocop .
- name: Run tests on sqlite
run: bundle exec rspec
- name: Run tests on postgres
Expand All @@ -60,8 +62,6 @@ jobs:
POSTGRES_HOST: 127.0.0.1
POSTGRES_PORT: 5432
ADAPTER: postgresql
- name: Run RuboCop
run: bundle exec rubocop .
- name: Run tests on mysql
run: bundle exec rspec
env:
Expand Down

0 comments on commit 4a7b158

Please sign in to comment.