Skip to content

Commit

Permalink
Add github actions for running specs
Browse files Browse the repository at this point in the history
This adds the github actions and badge for showing tests are working (or
not ;)
  • Loading branch information
patrickdavey committed Apr 2, 2023
1 parent 8f17185 commit 5d43da1
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: CI

on:
pull_request:
branches:
- '*'
push:
branches:
- master
jobs:
# SQLITE
testrunner:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1']

steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Run tests
run: |
bundle exec rspec spec
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# VimwikiMarkdown
[![Code Climate](https://codeclimate.com/github/patrickdavey/vimwiki_markdown/badges/gpa.svg)](https://codeclimate.com/github/patrickdavey/vimwiki_markdown)
[![Code Climate](https://codeclimate.com/github/patrickdavey/vimwiki_markdown/badges/gpa.svg)](https://codeclimate.com/github/patrickdavey/vimwiki_markdown) ![CI Status](https://github.com/patrickdavey/vimwiki_markdown/actions/workflows/ci.yml/badge.svg)

This gem allows vimwiki pages written in (github enhanced) markdown
to be converted to HTML.
Expand Down

0 comments on commit 5d43da1

Please sign in to comment.