Skip to content

Fedora Docker setup updates, plus Fedora object read test #1158

Fedora Docker setup updates, plus Fedora object read test

Fedora Docker setup updates, plus Fedora object read test #1158

Workflow file for this run

name: CI
on:
push:
branches: [ '*' ]
jobs:
ci-rails-app:
runs-on: ubuntu-22.04
strategy:
matrix:
ruby-version: ['2.7.8']
node: ['20']
env:
RAILS_ENV: test
NOKOGIRI_USE_SYSTEM_LIBRARIES: true
steps:
- uses: actions/checkout@v3
- name: Install libxslt for nokogiri gem (required for version < 1.11)
run: sudo apt-get install -y libxml2-dev libxslt-dev
- name: Add --no-document option to .gemrc file to speed up bundle install
run: "echo 'gem: --no-document' > ~/.gemrc"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '8'
- name: Set up default config files
run: bundle exec rake hyacinth:setup:config_files
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install -g yarn
- run: yarn install
- name: Run CI task
run: bundle exec rake hyacinth:ci