Skip to content

Test on GitHub Actions #20

Test on GitHub Actions

Test on GitHub Actions #20

Workflow file for this run

name: Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
name: Test (Ruby ${{ matrix.ruby-version }})
strategy:
fail-fast: false
matrix:
ruby-version:
- 2.6
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libxslt-dev libxml2-dev zlib1g-dev
version: 1.0
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler: 1.17
- run: |
gem install nokogiri -v '1.6.1' --platform=ruby -- --use-system-libraries
- run: bundle install
- run: bundle exec rake