new default for redis gem (#42) #25
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
name: build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.1 | |
# caching causes issues - https://github.com/thoughtbot/appraisal/issues/173 | |
# bundler-cache: true | |
- run: bundle install | |
- uses: ankane/setup-postgres@v1 | |
with: | |
database: ultimate_test | |
- uses: ankane/setup-mysql@v1 | |
with: | |
database: ultimate_test | |
- uses: ankane/setup-elasticsearch@v1 | |
- run: | | |
sudo apt-get update | |
sudo apt-get install coinor-libcbc-dev libcurl4-openssl-dev memcached redis-server | |
sudo systemctl start memcached | |
sudo systemctl start redis-server | |
- run: bundle exec appraisal install | |
- run: bundle exec appraisal "rake test || true" |