-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
3,606 additions
and
4,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby: ['3.0'] | ||
ruby: ['3.0', '3.1', '3.2', '3.3'] | ||
rails_version: [7.0.8] | ||
|
||
services: | ||
postgres: | ||
|
@@ -44,7 +45,7 @@ jobs: | |
- name: Bundler - Install dependencies | ||
run: bundle _2.3.5_ install | ||
env: | ||
rails_version: 6.1.5 | ||
RAILS_VERSION: ${{ matrix.rails_version }} | ||
|
||
- name: Node - v14 | ||
uses: actions/setup-node@v2 | ||
|
@@ -64,18 +65,30 @@ jobs: | |
- name: Rails - Database setup | ||
env: | ||
RAILS_ENV: test | ||
POSTGRES_HOST: 127.0.0.1 | ||
POSTGRES_PORT: 5432 | ||
POSTGRES_DB: geoblacklight_test | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
run: | | ||
bundle exec rails db:schema:load | ||
bin/rails db:migrate RAILS_ENV=test | ||
- name: Rails - Run tests | ||
env: | ||
RAILS_ENV: test | ||
rails_version: 6.1.5 | ||
ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test' | ||
RAILS_VERSION: ${{ matrix.rails_version }} | ||
RUBYOPT: W0 | ||
SOLR_URL: http://solr:SolrRocks@localhost:8983/solr/blacklight-core | ||
FARADAY_VERSION: ${{ matrix.faraday_version }} | ||
run: bundle exec rake geoportal:ci --trace | ||
POSTGRES_HOST: 127.0.0.1 | ||
POSTGRES_PORT: 5432 | ||
POSTGRES_DB: geoblacklight_test | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
BLAZER_DATABASE_URL: postgresql://postgres:[email protected]:5432/geoblacklight_test | ||
run: | | ||
bundle exec rake geoportal:ci --trace | ||
- name: Artifacts - Upload coverage | ||
uses: actions/upload-artifact@v2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.