Skip to content

Commit

Permalink
Switch to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior committed Mar 8, 2024
1 parent c15b143 commit 286ae31
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 39 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

name: CI
on:
push:
branches:
- '*'
tags:
- 'v*'
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.5.3', '2.6.1']
services:
mysql:
image: mysql:5.6
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=5
mongo:
image: mongo:5
ports:
- 27017:27017
options: >-
--health-cmd=mongo
--health-interval=10s
--health-timeout=5s
--health-retries=5
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Test
run: |
sed -i '/^--tag/d' .rspec
bundle exec rspec
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Gemfile.lock
## Configuration files
*.yml
!.scrutinizer.yml
!.travis.yml
!.rubocop.yml
!.github/**

## Log files
gurobi.log
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# NoSQL Schema Evaluator (NoSE)

[![Build Status](https://travis-ci.org/michaelmior/NoSE.svg?branch=master)](https://travis-ci.org/michaelmior/NoSE)
[![Depfu](https://badges.depfu.com/badges/69de42ee3415b077a040beadc8941f1e/overview.svg)](https://depfu.com/github/michaelmior/NoSE?project_id=6964)
[![codecov](https://codecov.io/gh/michaelmior/NoSE/branch/main/graph/badge.svg?token=knALGf3kHn)](https://codecov.io/gh/michaelmior/NoSE)
[![Docker Build Status](https://img.shields.io/docker/build/michaelmior/nose.svg)]()
Expand Down

0 comments on commit 286ae31

Please sign in to comment.