mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
Add GitHub actions workflow for CI
This commit is contained in:
parent
75787cf682
commit
b502596967
1 changed files with 19 additions and 0 deletions
19
.github/workflows/build-and-test.yml
vendored
Normal file
19
.github/workflows/build-and-test.yml
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: Ruby
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6
|
||||||
|
with:
|
||||||
|
bundler-cache: true
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bundle install
|
||||||
|
- name: Run tests
|
||||||
|
run: bundle exec rake
|
||||||
Loading…
Add table
Add a link
Reference in a new issue