Skip to content

Business intelligence made simple

Added GitHub Actions

Andrew Kane7dea09b80009
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 00000000..633e596d
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,15 @@
+name: build
+on: [push, pull_request]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ bundler-cache: true
+ - uses: ankane/setup-postgres@v1
+ with:
+ database: blazer_test
+ - run: bundle exec rake test
diff --git a/README.md b/README.md
index 7bec5b75..e71531fa 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,8 @@ Blazer is also available as a [Docker image](https://github.com/ankane/blazer-do
:tangerine: Battle-tested at [Instacart](https://www.instacart.com/opensource)
+[![Build Status](https://github.com/ankane/blazer/workflows/build/badge.svg?branch=master)](https://github.com/ankane/blazer/actions)
+
## Features
- **Multiple data sources** - PostgreSQL, MySQL, Redshift, and [many more](#full-list)