Skip to content

Commit

Permalink
Update gemika to use gh actions (#98)
Browse files Browse the repository at this point in the history
* Update gemika to use gh actions

Signed-off-by: Matthew Peveler <[email protected]>
  • Loading branch information
MasterOdin authored Jan 16, 2025
1 parent ea006ec commit cf96ad5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ jobs:
fail-fast: false
matrix:
ruby: [ '3.1.2' ]
gemfile: [ 'Gemfile', 'Gemfile.scenic' ]
database:
- 'pg17-ts2.17-all'
- 'pg16-ts2.17-all'
- 'pg15-ts2.17-all'
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}

services:
database:
Expand All @@ -32,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
name: OS Ruby ${{matrix.ruby}} database ${{matrix.database}}
name: OS Ruby ${{matrix.ruby}} (${{matrix.gemfile}}) database ${{matrix.database}}
container: ruby:${{matrix.ruby}}

steps:
Expand All @@ -54,9 +57,7 @@ jobs:
echo "SELECT version()" | psql -h database -U username testdb
echo "SELECT CURRENT_TIME" | psql -h database -U username testdb
- name: Setup
run: |
./bin/setup
- run: bundle install

- name: run tsdb
run: ./bin/tsdb postgres://username:secret@database:5432/testdb --stats
Expand All @@ -68,5 +69,5 @@ jobs:
bundle exec rake test:setup
- name: Test
run: bundle exec rake
run: bundle exec rake spec

9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

0 comments on commit cf96ad5

Please sign in to comment.