Skip to content

Commit

Permalink
runs specs via github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pstaender committed Sep 9, 2023
1 parent 3f265bb commit 26c5275
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/specs.yml
@@ -0,0 +1,23 @@
name: Specs

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1', '3.2']

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rspec
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
Gemfile.lock
punchcard_test_data/
/*.gem
/vendor
2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
# Punchcard
## Minimal time tracking tool for cli

[![Build Status](https://img.shields.io/travis/pstaender/punched.svg?branch=v1.0.0&style=flat-square)](https://travis-ci.org/pstaender/punched)
![status](https://github.com/pstaender/punched/actions/workflows/specs.yml/badge.svg)

[![asciicast](https://asciinema.org/a/222572.svg)](https://asciinema.org/a/222572)

Expand Down

0 comments on commit 26c5275

Please sign in to comment.