2022-08-08 10:10:27 +02:00

44 lines
855 B
YAML

on:
push:
branches:
- main
- 'test-*'
paths:
- 'bin/**'
- 'lib/**'
- 'plugins/**'
- 'test/**'
- 'templates/**'
- 'Gemfile'
- 'vagrant.gemspec'
- 'Rakefile'
pull_request:
branches:
- main
paths:
- 'bin/**'
- 'lib/**'
- 'plugins/**'
- 'test/**'
- 'Gemfile'
- 'templates/**'
- 'vagrant.gemspec'
- 'Rakefile'
jobs:
unit-tests-ruby:
runs-on: ubuntu-18.04
strategy:
matrix:
ruby: [ '2.6', '2.7', '3.0', '3.1' ]
name: Vagrant unit tests on Ruby ${{ matrix.ruby }}
steps:
- name: Code Checkout
uses: actions/checkout@v1
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
- name: Run Tests
run: .ci/test.sh