Convert to Github Actions

dev
Andy Meneely 2020-09-29 16:03:37 -04:00
parent 6effc093c4
commit 2682fcf031
3 changed files with 18 additions and 42 deletions

18
.github/workflows/tests.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Squib Unit Tests
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
# bundler-cache: true
- run: bundle install
- run: bundle exec rake

View File

@ -1,17 +0,0 @@
language: ruby
sudo: true # need this for libgirepository1.0-dev
addons:
apt:
packages:
- libgirepository1.0-dev # for gobject-introspection
rvm:
- 2.4.2
- 2.5.3
- 2.6.3
- ruby-head
before_install:
- gem update --system
- gem install bundler
matrix:
allow_failures:
- rvm: ruby-head

View File

@ -1,25 +0,0 @@
version: '{build}'
skip_tags: true
environment:
matrix:
- ruby_version: "24"
- ruby_version: "24-x64"
- ruby_version: "25"
- ruby_version: "25-x64"
- ruby_version: "26"
- ruby_version: "26-x64"
install:
- SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
- ruby --version
- gem --version
- gem install bundler
- bundler --version
- bundle install
test_script:
- rake
build: off