Skip to content

Commit

Permalink
Merge branch 'master' into update-master-to-main
Browse files Browse the repository at this point in the history
  • Loading branch information
brushbox committed Jan 12, 2021
2 parents b9c6de1 + e3c74c6 commit 8a0c0a3
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 26 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: tests
on: [ push, pull_request ]
jobs:
test:
name: Test (Ruby ${{ matrix.ruby }})
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.3', '2.4', '2.5', '2.6', '2.7', '3.0' ]
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: RSpec
run: bundle exec rspec
env:
POSTGRESQL_URL: postgres://postgres:secretdb@localhost:25432/
services:
postgres:
image: postgres
env:
POSTGRES_DB: event_sourcery_test
POSTGRES_PASSWORD: secretdb
ports:
- 25432:5432

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

This file was deleted.

15 changes: 13 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,22 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Added

- Test against Ruby 3.0 in the CI build ([#67]).

### Changed

- Use GitHub Actions for the CI build instead of Travis CI ([#66]).
- This project now uses `main` as its default branch ([#68]).
- Documentation updated to refer to `main` and links updated accordingly.

[#66]: https://github.com/envato/event_sourcery-postgres/pull/66
[#67]: https://github.com/envato/event_sourcery-postgres/pull/67
[#68]: https://github.com/envato/event_sourcery-postgres/pull/68

### Changed

- This project now uses `main` as its default branch.
- Documentation updated to refer to `main` and update links accordingly.

## [0.8.1] - 2020-10-02
### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# EventSourcery::Postgres

[![Build Status](https://travis-ci.org/envato/event_sourcery-postgres.svg?branch=HEAD)](https://travis-ci.org/envato/event_sourcery-postgres)
[![Build Status](https://github.com/envato/event_sourcery-postgres/workflows/tests/badge.svg?branch=main)](https://github.com/envato/event_sourcery-postgres/actions?query=workflow%3Atests+branch%3Amain)

## Development Status

Expand Down
5 changes: 5 additions & 0 deletions spec/support/warnings.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7.2')
Warning[:deprecated] = true
end

0 comments on commit 8a0c0a3

Please sign in to comment.