Skip to content

Bump actions/checkout from 3 to 4 #22

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #22

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
test:
name: OS ${{ matrix.os }} Ruby ${{ matrix.ruby }} GR ${{ matrix.gr }}
strategy:
fail-fast: false
matrix:
gr: [ 'system' ]
os: [ 'ubuntu' ]
ruby: [ '2.7', '3.0', '3.1' ]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Setup OBS binary (ubuntu)
if: ${{ matrix.gr == 'system' && matrix.os == 'ubuntu' }}
run: |
echo 'deb http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_20.04/ /' |
sudo tee /etc/apt/sources.list.d/science:gr-framework.list
curl -fsSL https://download.opensuse.org/repositories/science:gr-framework/xUbuntu_20.04/Release.key |
gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/science_gr-framework.gpg > /dev/null
sudo apt update -yq && sudo apt upgrade -yq
sudo apt-get install -y gr
- name: Install gems
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Test
env:
QT_QPA_PLATFORM: offscreen
GRDIR: /usr/gr
run: bundle exec rake test