Skip to content

Commit

Permalink
ci: run anyt tests against Rails 8
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Sep 13, 2024
1 parent 34ac073 commit f484ab8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,34 @@ jobs:
run: |
bundle install
bundle exec anyt --self-check
anyt:
if: ${{ !contains(github.event.head_commit.message, '[ci skip tests]') }}
runs-on: ubuntu-latest
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 3
BUNDLE_FORCE_RUBY_PLATFORM: 1
CI: true
BUNDLE_GEMFILE: "gemfiles/anyt.gemfile"
services:
redis:
image: redis:7.0-alpine
ports: ["6379:6379"]
options: --health-cmd="redis-cli ping" --health-interval 1s --health-timeout 3s --health-retries 30
steps:
- uses: actions/checkout@v4
- name: Install system deps
run: |
sudo apt-get update
sudo apt-get install libsqlite3-dev
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Run conformance tests with Anyt
run: |
bundle exec anyt --self-check
coverage:
needs: rspec
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions gemfiles/anyt.gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
source "https://rubygems.org" do
gem "anycable-rails", path: ".."
gem "anyt", "~> 1.3.1"

gem "rails", git: "https://github.com/palkan/rails.git", branch: "refactor/action-cable-server-adapterization"
gem "puma"
end

0 comments on commit f484ab8

Please sign in to comment.