-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add delete job, track records without source ids without creating entries, properly show invalid records * fixes for rubocop and feedback * add rubocop to rake and specs to ci * sqlite3 * rename * make sure directory exist for spec runs * make export dir for specs * fix whitespace
- Loading branch information
1 parent
37b98fb
commit 4557801
Showing
5 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Test | ||
on: | ||
pull_request: | ||
branches: | ||
- '**' | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
rspec: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/cache@preview | ||
id: cache | ||
with: | ||
path: ~/local/rubies | ||
key: 2.6.5 | ||
|
||
- uses: clupprich/ruby-build-action@master | ||
id: ruby | ||
with: | ||
ruby-version: 2.6.5 | ||
cache-available: ${{ steps.cache.outputs.cache-hit == 'true' }} | ||
|
||
- name: Setup sqlite3 | ||
run: sudo apt-get install libsqlite3-dev | ||
|
||
- name: Install dependencies | ||
run: bundle install | ||
|
||
- name: Migrate test database | ||
run: bin/rails db:migrate RAILS_ENV=test | ||
|
||
- name: Run rspec | ||
run: rake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.